I just want to check with the RStudio and Shiny experts to see if my below needs is feasible to implement.
On a Shiny page, say based on Condition==A, Shiny would display its normal UI elements.
But when Condition==B, I would like that same Shiny page to display instead a big image itself ['saying No Data is Available'], and those normal UI elements would be invisible.
Would the above be possible? If yes, what changes do I need to cater for? You can see that the Condition may change from one hour or one minute to the next Condition, so that Shiny page must be able to toggle itself automatically based on its condition. It seems to me that the control of its UI display need to be on the ui.R side, but putting
invalidateLater(60*1000) ## every minute
to check its condition will NOT work on the ui.R
Any good suggestions?
Thanks.