aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2024-05-11 18:00:37 +0000
committerNaeem Model <me@nmode.ca>2024-05-11 18:00:37 +0000
commita38d711dbf081bcc60949bd11102e6d1cf43da23 (patch)
treecb9d97f60b80dfcd63c00bd956c1bc6d45651ddb /R
parent3eac1d553d8b921b4659fbd55ed23aa12f67690b (diff)
Update COVID-19 Canada datasets
Diffstat (limited to 'R')
-rw-r--r--R/data.R20
1 files changed, 10 insertions, 10 deletions
diff --git a/R/data.R b/R/data.R
index 6de352d..f7c919f 100644
--- a/R/data.R
+++ b/R/data.R
@@ -1,26 +1,26 @@
-#' COVID-19 Canada National Case Counts, 2020-2022
+#' COVID-19 Canada National Case Counts, 2020-2023
#'
#' 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.
+#' until the end of 2023. Retrieved from the COVID-19 Canada Open Data Working
+#' Group on 2024-05-11.
#'
-#' @format A data frame with 1082 observations on 3 variables:
+#' @format A data frame with 1439 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}
+#' @source \url{https://github.com/ccodwg/CovidTimelineCanada}
"COVIDCanada"
-#' COVID-19 Canada Provincial and Territorial Case Counts, 2020-2022
+#' COVID-19 Canada Provincial and Territorial Case Counts, 2020-2023
#'
#' 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.
+#' start of the pandemic until the end of 2023. Retrieved from the the COVID-19
+#' Canada Open Data Working Group on 2024-05-11.
#'
-#' @format A data frame with 13169 observations on 4 variables:
+#' @format A data frame with 16799 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.}
@@ -28,5 +28,5 @@
#' \item{cumulative_cases}{The cumulative number of cases.}
#' }
#'
-#' @source \url{https://opencovid.ca}
+#' @source \url{https://github.com/ccodwg/CovidTimelineCanada}
"COVIDCanadaPT"