covid19.Canada.data: function to import data for Canada as reported by Health...

View source: R/covid19_Canada.R

covid19.Canada.dataR Documentation

function to import data for Canada as reported by Health Canada https://health-infobase.canada.ca/src/data/covidLive/covid19.csv

Description

function to import data for Canada as reported by Health Canada https://health-infobase.canada.ca/src/data/covidLive/covid19.csv

Usage

covid19.Canada.data(
  data.fmt = "TS",
  local.data = FALSE,
  debrief = FALSE,
  acknowledge = FALSE
)

Arguments

data.fmt

"TS" for TimeSeries of cumulative cases or "original" for the data as original reported

local.data

boolean flag to indicate whether the data will be read from the local repo, in case of connectivity issues or data integrity

debrief

boolean specifying whether information about the read data is going to be displayed in screen

acknowledge

boolean flag to indicate that the user acknowledges where the data is coming from. If FALSE, display data acquisition messages.

Value

a dataframe with the latest data reported by "OpenData Toronto" for the city of Toronto, ON - Canada


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