get_international_linelist: Get International Linelist Data

Description Usage Arguments Value Author(s) Examples

View source: R/get_international_linelist.R

Description

This function downloads the latest non-Hubei linelist. 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. As this linelist is experiencing a high user demand it may not always be available. To account for this we keep a cache in the NCoVUtils GitHub repo which this function will fall back to with a warning if the source cannot be downloaded.

Usage

1
2
3
4
5
6
get_international_linelist(
  countries = NULL,
  cities = NULL,
  provinces = NULL,
  clean = TRUE
)

Arguments

countries

Character vector identifying the countries to extract data for.

cities

Character vector identifying the cities to extract data for.

provinces

Character vector identifying the provinces to extract data for.

clean

Logical, defaults to TRUE. Should the data returned be cleaned for use.

Value

A linelist of case data

Author(s)

Sam Abbott sam.abbott@lshtm.ac.uk

Examples

1

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