getus_covid: get COVID-19

Description Usage Arguments Details Value Examples

View source: R/getus_functions.R

Description

extracts time series from the git repository of the NYT or of the JHU

Usage

1
getus_covid(repo = "jhu")

Arguments

repo

repository of COVID-19 data, one of c("nyt", "jhu")

Details

cases represents the number of confirmed cases, while cmr the case-mortality rate (deaths / confirmed_case * 100). A good description of pitfalls and caveats associated with the use of case-mortality rate metric has been made on Our World in Data.

Value

a dataframe

Examples

1
dat <- getus_covid(repo = "jhu")

c1au6i0/covid19census_dev documentation built on May 8, 2020, 1:01 a.m.