Need help in an algorithm for Shiny dynamic UI with multiple interactions
问题 My Shiny Algorithm (app.R code at the bottom): Asks user to upload a file Gives dropdown field with options "None","Country","State","City" When "None" is selected, only textoutput should appear When "Country" is selected, only country filter should appear When "State" is selected, both country and state filters should appear when "City" is selected, both country and city filters should appear and any existing state filter from previous selections should disappear What I did in the code :