From 1410d8167185f94beb213602e8221980b96d0b06 Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Sun, 23 Jul 2023 02:43:22 +0000 Subject: Add COVID-19 Canada datasets --- R/data.R | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 R/data.R (limited to 'R') diff --git a/R/data.R b/R/data.R new file mode 100644 index 0000000..6de352d --- /dev/null +++ b/R/data.R @@ -0,0 +1,32 @@ +#' COVID-19 Canada National Case Counts, 2020-2022 +#' +#' Daily national COVID-19 case counts in Canada, from the start of the pandemic +#' until the end of 2022. Provided by the COVID-19 Canada Open Data Working +#' Group. +#' +#' @format A data frame with 1082 observations on 3 variables: +#' \describe{ +#' \item{date}{The date of reporting in YYYY-MM-DD format.} +#' \item{cases}{The daily number of cases.} +#' \item{cumulative_cases}{The cumulative number of cases.} +#' } +#' +#' @source \url{https://opencovid.ca} +"COVIDCanada" + +#' COVID-19 Canada Provincial and Territorial Case Counts, 2020-2022 +#' +#' Daily COVID-19 case counts for each Canadian province and territory, from the +#' start of the pandemic until the end of 2022. Provided by the COVID-19 Canada +#' Open Data Working Group. +#' +#' @format A data frame with 13169 observations on 4 variables: +#' \describe{ +#' \item{region}{The two-letter code for the Canadian province or territory.} +#' \item{date}{The date of reporting in YYYY-MM-DD format.} +#' \item{cases}{The daily number of cases.} +#' \item{cumulative_cases}{The cumulative number of cases.} +#' } +#' +#' @source \url{https://opencovid.ca} +"COVIDCanadaPT" -- cgit v1.2.3