fetch_covid_cumulative: Retrieve the current COVID-19 cumulative counts

Description Usage Arguments Value

View source: R/covid19.R

Description

Retrieve the current COVID-19 cumulative counts

Usage

1
2
3
4
5
fetch_covid_cumulative(
  pop = read_census(),
  save_file = TRUE,
  path = mecdc_path("cumcounts")
)

Arguments

pop

sf MUTLIPOLYGON as per read_census

save_file

logical, if TRUE save as CSV

path

character, where to save the file (date timestamped CSV)

Value

table of COVID19 cumulative counts and densities with spatial geometry. If pop is NULL then just a simple table of cumualtive counts is returned.


BigelowLab/MeCDC documentation built on April 22, 2020, 2:29 p.m.