This is the repo for the https://viz.covid19forecasthub.org/ site. Visualization is based on the https://github.com/reichlab/predtimechart component. Publishing is via https://www.netlify.com/ , which is set to deploy on pushes to the master
branch.
To use a different version of the predtimechart component, edit the version numbers of predtimechart.css
and predtimechart.js
that index.html uses.
Updating forecast and truth JSON files is handled by GitHub Actions and the update_forecasts_weekly.yml
and update_truth_daily.yml
workflows located in .github/workflows
. To update the JSON files locally, run the underlying R scripts:
cd <this dir>
Rscript install_dependencies.R
Rscript preprocess_data/preprocess_truth.R
Rscript preprocess_data/preprocess_forecasts.R