Skip to content

Commit b80ac35

Browse files
committed
Merge branch 'main' into ndefries/epipredict-support
2 parents a4c9294 + d91aaee commit b80ac35

33 files changed

+44
-46
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Suggests:
3030
lubridate,
3131
magrittr,
3232
purrr,
33-
readr,
34-
tibble
33+
readr
3534
Enhances:
36-
epiprocess
35+
epiprocess (>= 0.9.0),
36+
tibble
3737
Remotes:
3838
cmu-delphi/epidatr,
3939
cmu-delphi/epiprocess

R/epipredict-data.R

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
#' of measurements.}
8585
#' \item{time_value}{the time value associated with each row of measurements.}
8686
#' \item{masking}{Estimated percentage of people who wore a mask for most or all of the time while in public in the past 7 days; those not in public in the past 7 days are not counted.}
87-
#' \item{distancting}{Estimated percentage of respondents who reported that all or most people they enountered in public in the past 7 days maintained a distance of at least 6 feet. Respondents who said that they have not been in public for the past 7 days are excluded.}
87+
#' \item{distancing}{Estimated percentage of respondents who reported that all or most people they encountered in public in the past 7 days maintained a distance of at least 6 feet. Respondents who said that they have not been in public for the past 7 days are excluded.}
8888
#' }
8989
#'
9090
#' @source
@@ -183,7 +183,7 @@
183183
#' signal names slightly altered, some province names replaced with abbreviations, and
184184
#' formatted into an `epi_archive`.
185185
#'
186-
#' The populatin data used (but not included in the dataset itself) is from the
186+
#' The population data used (but not included in the dataset itself) is from the
187187
#' \href{https://github.com/mountainMath/BCCovidSnippets/}{mountainMath/BCCovidSnippets GitHub repository}.
188188
"can_prov_cases"
189189

@@ -213,18 +213,17 @@
213213
#' Table 37-10-0115-01 Characteristics and median employment income of
214214
#' longitudinal cohorts of postsecondary graduates two and five years after
215215
#' graduation, by educational qualification and field of study
216-
#' (primary groupings)
217-
#' }. This does not constitute an endorsement by Statistics Canada of this product.
216+
#' (primary groupings)}. This does not constitute an endorsement by Statistics Canada of this product.
218217
#'
219218
#' The data is licensed under the terms of the
220219
#' \href{https://www.statcan.gc.ca/en/reference/licence}{Statistics Canada Open License}.
221220
#'
222221
#' Modifications:
223-
#' * Only provincial and territorial regions are kept
224-
#' * Only age group and educational qualification are kept as
222+
#' * Only provincial and territorial regions are kept.
223+
#' * Only age group, field of study, and educational qualification are kept as
225224
#' covariates. For the remaining covariates, we keep aggregated values and
226225
#' drop the level-specific rows.
227-
#' * No modifications were made to the time range of the data
226+
#' * No modifications were made to the time range of the data.
228227
"grad_employ_subset"
229228

230229
#' Percent CLI from different surveys, compared to ground truth COVID incidence in a subset of counties

R/epiprocess-data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
#' signal names slightly altered, and formatted into an `epi_archive`.
7878
#'
7979
#' This object contains a modified part of the
80-
#' \href{https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/doctor-visits.html}{Delphi `doctor-visits` indicator}
81-
#' . This data source is computed by the Delphi
80+
#' \href{https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/doctor-visits.html}{Delphi `doctor-visits` indicator}.
81+
#' This data source is computed by the Delphi
8282
#' Group from information about outpatient visits, provided to Delphi by
8383
#' health system partners, and published in the COVIDcast Epidata API. This
8484
#' data set is licensed under the terms of the

R/sysdata.rda

47.7 KB
Binary file not shown.

data-raw/_helper.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ internal_data_path <- here("R/sysdata.rda")
44

55
save_to_sysdata <- function(obj, obj_name) {
66
# Create a new environment for storing sysdata contents
7-
sysdata_env <- new.env(hash = FALSE)
7+
sysdata_env <- new.env(hash = FALSE, parent = emptyenv())
88

99
# Load current internal data into this new environment
1010
if(file.exists(internal_data_path)) {
File renamed without changes.

0 commit comments

Comments
 (0)