I’m building a shiny app using flexdashboard that fetches data from a company data base.
The app will be running on shiny server (open source edition) from linux.
I would like the app to get the latest data whenever it is invoked by a user.
I expect only a handfull of users at a time.
I was wondering if the community could offer some advice on how to best implement this in flexdashboard.
I was thinking to fetch the data in the global chunk, but I’am unsure if this will ensure that I always get the latest data. Is it better to supply a fetch data button?