get_who_cases: Download the most recent WHO case data

Description Usage Arguments Value Examples

View source: R/get_who_cases.R

Description

Downloads the latest WHO case data.It uses memoise to cache the results locally. To clear the cache and redownload the data use reset_cache. The cache will be located in the directory at which the function is run.

Usage

1
get_who_cases(country = NULL, daily = FALSE, cache = NULL)

Arguments

country

Character string of current name

daily

Logical, defaults to FALSE. Should cases

cache

A memoise cache. counts be daily (TRUE) or cumulative (FALSE).

Value

A datatable of either all WHO data by date or cases in a specific country by date

Examples

1

epiforecasts/NCoVUtils documentation built on June 26, 2020, 1:20 a.m.