focus_explorer.Rd
The explorer app allows a user to view plots of forecasts, inspect tabular output of submission files, and download subsets of forecast submission data. The app includes an interface to interactively select locations to include in the plots, table, and download. This function wraps shiny::runApp
and accepts arguments for the data against which the forecasts should be plotted, as well as the directory containing submission files, both of which are temporarily attached to the global environment for use during the app session. Additional arguments passed to ...
will be inherited by runApp.
focus_explorer(.data, submission_dir, ...)
.data | Tibble with historical data for trend leading up to forecast |
---|---|
submission_dir | Full path to directory of submission files containing forecast submissions to explore |
... | Additional arguments to be passed to runApp |
This function starts a shiny app. On exit it removes objects (see ".data" and "submission_dir") that are temporarily attached and used by the app session.