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.