Hello there,
recently I developed and deployed my very first shiny app on shinyapp.io and I am very happy how easy the procedure was. However I wonder about what happens when the app goes from sleeping to running. Does the code get rerun? I'm asking because one of my input data originates from an online stored csv file (stashed in a github repo). I bluntly accessed and loaded it by using
If a Shiny app is shut down and restarts, all variables should be loaded again, in other cases it depends on the scope. If you want your data to update on a regular interval you can look into the reactive polling concept, where the data on disk will be reloaded at a set interval if changed, or if you use a link it will pull it at that interval https://shiny.rstudio.com/reference/shiny/1.6.0/reactivePoll.html
Hi,
thank you for the thorough answer! Both documentations are exactly the information I was looking for. I going to give it a read and optimize my app.