Hi, I'm relatively new to shiny and having a bit of trouble switching between datasets. Basically, I want the user to select a crop. Each crop has it's own dataset, formatted in the same way (column names are the same), which then influences the rest of the select input options in the app.
Hey there,
it might be useful if you could provide an exemple dataset with the first 5 rows or so and a reprex (minimal exemple to reproduce the problem) exemple of your App code. The above seems to be missing some parenthesese.
Plus, I am not sure as to what you are trying to achieve exactly as your code does not detail any output elements.
Do you want to display the data to the user as a table or plot?
Do you want to use the input dataset to compute calculations?
However, based on what you wrote I tried to approximate a solution. Does this help?