Skip to content

I used JHU repository of global COVID-19 data to transform it into long-format (ggplot-friendly) and produce some graphs for visualisation.

Notifications You must be signed in to change notification settings

almenal/covid-r-plots

Repository files navigation

covid-r-plots

Hi! You will find a couple of R scripts that I've been writing about the SARS-CoV-2 epidemic that originated in China in late 2019 (more notoriously known as Coronavirus).

I got the raw data from the John's Hopkins University's repository and worked with it using R.

For now, this repo consists in one script reshaping the data as a ggplot-friendly dataframe and exporting it to .csv and another one to plot that same data.

It ain't much, but it's honest work.

Plots

Evolution of cumulative number of cases

Growth rates

Growth rates of last month

Epidemic curves of some countries

Note that countries like the UK or the USA do not report active cases, only the cumulative ones, so the graphs are not directly comparable with the ones from the other countries.

About

I used JHU repository of global COVID-19 data to transform it into long-format (ggplot-friendly) and produce some graphs for visualisation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages