jhu_data: Global COVID-19 data from JHU CSSEGIS

Description Usage Details Value Note Source See Also Examples

View source: R/jhu_data.R

Description

This function access and munges the cumulative time series confirmed, deaths and recovered from the data in the repository for the 2019 Novel Coronavirus Visual Dashboard operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). Also, Supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHU APL).

Usage

1

Details

Data are updated daily by JHU. Each call to this function redownloads the data from github. No data cleansing is performed. Data are downloaded and then munged into long-form tidy data.frame.

Value

A tidy data.frame (actually, a tbl_df) with columns:

Note

Uses https://raw.githubusercontent.com/CSSEGISandData/... as data source, then modifies column names and munges to long form table.

Source

See Also

Other data-import: descartes_mobility_data(), jhu_us_data(), nytimes_county_data(), usa_facts_data()

Other case-tracking: nytimes_county_data(), usa_facts_data()

Examples

1
2
3
4
res = jhu_data()
colnames(res)
head(res)
dplyr::glimpse(res)

vjcitn/sars2app documentation built on Jan. 3, 2022, 12:19 a.m.