I am very new to Shiny and R and reactivity and could really use an assist. I have a dataset ("transport") that has columns "midwest", "northeast", "europe" and then rows "cars", "busses", "trains" with numbers as the data. (ie: midwest & cars = 10.)
I'd like to use selectizeInput or another input format that allows for multiple criteria to be selected. The criteria should be the columns ("midwest", "northeast", "europe").
The Y axis of the bar plot should be the rows from the dataset ("cars", "busses", "trains") and the bars should be the input ("midwest", "northeast", "europe"). If multiple regions are selected, multiple bars would appear for each category on the x axis. If one region is selected, one bar appears for each of the rows.
I'm sure this seems easy to many experienced Shiny users out there, but I feel like I've tried a million different tutorials and just can't get it right! Thank you very much for your help.
I can get a regular bar plot with numeric values and just selectInput, but I can't get the categorical or multiple values to work for the life of me. Gah!!!!!