This website plots cases of COVID-19 by region and across regions over time.
The data is currently sourced from the John Hopkins data set, as well as the NYT dataset(see their article here), and is updated periodically.
When cloning - you must clone with the submodules
git clone --recurse-submodules https://github.com/supportchef/covid-by-region.git
if you forget to clone with --recurse-submodules
, run:
git submodule update --init --recursive
within the project.
Install Node.js on your machine if it isn't already installed.
The first time you run the project you should install all dependencies:
npm ci
Note: npm ci
is similar to npm install
, except it installs exact versions of dependencies
Next you must generate the post-processed data:
npm run updateData
Then you can run the project with:
npm start
Currently the dataset is updating manually by running the following periodically:
npm run updateData
Note: The deployed website can be newer than the pinned git hash of the submodules, this command may also pull new submodules
We use the John Hopkins dataset for all data except for the US, if you want to use the JHU dataset
instead go to the options to make it visible, it will be US (JHU)
.
The main reason we use the NYT dataset is that some US counties have missing timeranges in the JHU dataset
Open to contributions. If you are adding a feature that requires more/new data, it must both:
This project was bootstrapped with Create React App.