importSARSData: Import SARS data

Description Usage Arguments Value Examples

View source: R/importSARSData.R

Description

Imports data from public github repo on SARS cases by date and location, reformats and cleans the data, and merges with population and latitude-longitude data

Usage

1
importSARSData(from_web = FALSE)

Arguments

from_web

defaults to FALSE: whether to import from the web or from the package

Value

Output is a dataframe with columns for disease (sars), region (country), value, value_type, pop_2016, lat (latitude), long (longitude)

Examples

1
importSARSData()    # defaults to from_web = FALSE

smorsink1/ncov2019 documentation built on March 27, 2020, 7:22 p.m.