https://covid19scenariohub.eu/
Contents:
Scenario analyses hinge on the file scenarios.R
which provides meta-data for each scenario round.
Analysis functions are in sub-folders of code
, as follows:
Load
scenarios.R
: Create scenario metadataload_local_results.R
: load files from a local clone of the main scenario hubdownload_results.R
: fetch a parquet file stored on githubplot_palettes
: Get colour palettes for plottingplot_scenarios
: Plot the four scenarios side by side
Report
prep.R
: load and prepare data using functions inload
results-multi-country.Rmd
: create results comparing scenarios for countries with multiple models
Summarise
cumulative.R
: summarise cumulative outcomespeaks.R
: find and summarise outcomes at projected peaks
Reports can be run via the script create-report.R
, or separately by interactively knitting each report's Rmd file.
Reports use the following Rmd chunks of common code:
_model_feature.Rmd
: number of models etc._cumulative_plots.Rmd
: create cumulative plots_peaks.Rmd
: create plots of peaks_by_scenario.Rmd
: plot by scenario
The website updates (builds and deploys) automatically after each push to the main branch, using a Github action.