Skip to content

Commit f6bf31d

Browse files
committed
provide basic source info for can_prov_cases
1 parent e4f6eeb commit f6bf31d

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

R/epipredict-data.R

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,22 @@
8181
#' Copyright Johns Hopkins University 2020.
8282
"counts_subset"
8383

84-
#' COVID Cases for Canada
84+
#' Canadian COVID-19 case rates
8585
#'
86-
#' THIS IS A STUB This dataset covers the period from March 2020 to March 2023 and is
87-
#' used in the [epipredict] slide vignette.
86+
#' Data set for all Canadian provinces and territories containing COVID-19
87+
#' case rates (COVID-19 cases per 100,000 people) derived from COVID-19 case
88+
#' counts as reported by the
89+
#' \href{https://opencovid.ca/}{COVID-19 Canada Open Data Working Group (CCODWG)}.
90+
#' Data is available throught the associated ccodwg/Covid19Canada GitHub
91+
#' repository.
92+
#'
93+
#' This dataset contains versioned data covering the period from April 2020 to
94+
#' December 2021 and is used in the [epipredict] slide vignette.
95+
#'
96+
#' @source This object contains a modified part of the COVID-19 Canada Open
97+
#' Data Working Group's
98+
#' \href{https://github.com/ccodwg/Covid19Canada}{Covid19Canada data repository}.
99+
#' This data set is licensed under the terms of the
100+
#' \href{https://creativecommons.org/licenses/by/4.0/}{Creative Commons Attribution 4.0 International license}
101+
#' by the COVID-19 Canada Open Data Working Group.
88102
"can_prov_cases"

data-raw/can_prov_cases.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ if (gh_token == "") {
3131

3232
## Get list of new and modified files to download
3333
# The `path` field filters commits to only those that modifying the listed dir
34+
# From https://www.github.com/ccodwg/Covid19Canada
3435
BASE_URL <- "https://api.github.com/repos/ccodwg/Covid19Canada/commits?sha=%s&per_page=%s&path=timeseries_prov/cases_timeseries_prov.csv&until=%s&page=%s"
3536
ITEMS_PER_PAGE <- 100
3637
BRANCH <- "master"

man/can_prov_cases.Rd

Lines changed: 19 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)