Relative Content

Tag Archive for rshiny

PickerInput update based on sidebar options

I am trying to create an app, which has 7 different sidebar menu items with one input ID like menu_items_id and based on this selection I have to update another pickerInput which has the location filters with another input id which is region_select. So when any of the options out of the 7 options from the menu_items_id is selected, I want the region_select id to give only the approriate regions.

PickerInput update based on sidebar options

I am trying to create an app, which has 7 different sidebar menu items with one input ID like menu_items_id and based on this selection I have to update another pickerInput which has the location filters with another input id which is region_select. So when any of the options out of the 7 options from the menu_items_id is selected, I want the region_select id to give only the approriate regions.

Reactive programming in R shiny inputs

My question relates to reactive expressions in R Shiny inputs. For instance, say my first user input is Country. I want my next input to be States of that country. In particular, if the user selects a different country, their second input will change correspondingly. Naturally the US and Canada have different states. How would I go about doing this? Thanks!