Mapping the Spread of COVID-19

This package takes the WHO data appearing here: "https://covid.ourworldindata.org/data/ecdc/ and produces an animated gif that shows the progress of it's spread (numbers per 1,000,000) on a map.

Installation

You can install a version of the package here

# install.packages("devtools")
devtools::install_github(repo = "pkuhnert/mapcorona")
knitr::opts_chunk$set(echo = TRUE)
library(knitr)

An example of producing the map is shown here.

last_map <- cv(url_loc = "https://covid.ourworldindata.org/data/ecdc/full_data.csv",
                  d_start = "2019-12-31", d_format = "%Y-%m-%d")

last_map


pkuhnert/mapcorona documentation built on March 30, 2020, 12:49 a.m.