report.summary: function to summarize the current situation, will download...

View source: R/covid19_anal.R

report.summaryR Documentation

function to summarize the current situation, will download the latest data and summarize the top provinces/cities per case

Description

function to summarize the current situation, will download the latest data and summarize the top provinces/cities per case

Usage

report.summary(
  cases.to.process = "ALL",
  Nentries = 10,
  geo.loc = NULL,
  graphical.output = TRUE,
  saveReport = FALSE
)

Arguments

cases.to.process

which data to process: "TS" –time series–, "AGG" –aggregated– or "ALL" –time series and aggregated–

Nentries

number of top cases to display

geo.loc

geographical location to process

graphical.output

flag to deactivate graphical output

saveReport

flag to indicate whether the report should be saved in a file

Examples

# triggers CRAN checks for timing
## Not run: 
# displaying top 10s
report.summary()

# get the top 20
report.summary(Nentries=20,graphical.output=FALSE)

# specify a location
report.summary(geo.loc="NorthAmerica")

## End(Not run)


covid19.analytics documentation built on Oct. 16, 2023, 1:06 a.m.