Fetches a chosen tidy dataset from the covid19R catalogue

get_covid19_dataset(dataset)

Arguments

dataset

The name of the dataset from get_covid19_data_info

Value

a tibble of data

Examples

nytimes_states <- get_covid19_dataset("covid19nytimes_states") tail(nytimes_states)
#> # A tibble: 6 x 7 #> date location location_type location_code location_code_t… data_type #> <date> <chr> <chr> <chr> <chr> <chr> #> 1 2020-01-23 Washing… state 53 fips_code cases_to… #> 2 2020-01-23 Washing… state 53 fips_code deaths_t… #> 3 2020-01-22 Washing… state 53 fips_code cases_to… #> 4 2020-01-22 Washing… state 53 fips_code deaths_t… #> 5 2020-01-21 Washing… state 53 fips_code cases_to… #> 6 2020-01-21 Washing… state 53 fips_code deaths_t… #> # … with 1 more variable: value <dbl>