Using imported dataset in selectInput()

Hello,

How do I list the variables from imported data in selectInput function? All of the tutorials use mtcars-like datasets or write them manually. :frowning:

TIA

Once the data is imported, you can just put the distinct values in to a vector and put them in as the choices for the select input. You can use a combination of distinct() and pull() or some other functions to do this.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.