An open API service indexing awesome lists of open source software.

https://github.com/davidkirwan/covid-19-plots

Generate plots from the raw CSSEGISandData/COVID-19 data
https://github.com/davidkirwan/covid-19-plots

coronavirus coronavirus-tracking covid-19 pandemic sars-cov-2

Last synced: 3 months ago
JSON representation

Generate plots from the raw CSSEGISandData/COVID-19 data

Awesome Lists containing this project

README

          

== covid-19-plots
Generate plots from the raw https://github.com/CSSEGISandData/COVID-19[CSSEGISandData/COVID-19] data

.COVID-19
[#img-covid19]
image::covid-19.png[covid19]

.COVID-19 Deaths
[#img-covid19-d]
image::covid-19_deaths.png[covid19-d]

.COVID-19 Mortality Rate
[#img-covid19-m]
image::covid-19_mortality_rate.png[covid19-m]

.COVID-19 Daily Growth Rate
[#img-covid19-g]
image::covid-19_daily_growth_rate.png[covid19-g]

Check the `+countries+` directory to view individual countries plots/data. eg: USA:

.COVID-19 The US
[#img-covid19-us]
image::countries/covid-19_us.png[covid19 The US]

=== Prerequisites:
The following are required to clone the repo containing the raw data, process the data and build the plots etc:

- Ruby
- R
- Git
- cmake

=== Building the Plots
To build the plots do the following:

- Clone the https://github.com/CSSEGISandData/COVID-19[CSSEGISandData/COVID-19] repo locally
- Update the variable `+REPO+` in the `+Makefile+` make script to point at the location where the repo was cloned in the previous step.

----
$ make
Usage: make ...

Available targets are:

Usage:
make
help Show this help screen

Fetch data
pull Pull down the latest raw data from CSSEGISandData/COVID-19

Process data
process Process the latest raw data from CSSEGISandData/COVID-19 and generate CSV files
plot Plot the latest raw data from CSSEGISandData/COVID-19 and generate plot images

Push data
push Push up the latest processed data and plots to davidkirwan/covid-19-plots
----