Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 878 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 878 Bytes

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.

updating the predtimechart version

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

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