reichlab / Covid-19-Hub-Vizualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:R 58.5%Language:HTML 36.3%Language:CSS 2.7%Language:Shell 2.5%