Learn R Programming

covid19.analytics (version 2.1.3.3)

report.summary: 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

Run this code
# triggers CRAN checks for timing
if (FALSE) {
# displaying top 10s
report.summary()

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

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

Run the code above in your browser using DataLab