Description Usage Details Value
View source: R/read_data_jhu_csse.R
Reads cumulative total of COVID-19 confirmed cases by day from a public dataset published by Johns Hopkins University (JHU).
1 |
Reads a JHU CSSE data file, time_series_covid19_confirmed_global.csv of confirmed COVID-19 cases.
Reformats data as a tidy dataset.
Reformats the column names to snake case.
tbl
with 6 columns:
country_region
: (character)
province_state
: (character)
lat
: (numeric) latitude
long
: (numeric) longitude
date
: (Date)
cumulative_total
: (integer) total number of confirmed cases that occurred
up to and including the given date.
Note: The country data for the United States and most other countries
is not sub-divided by province_state
, so that column has many NA
values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.