Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: epiprocess
Type: Package
Title: Tools for basic signal processing in epidemiology
Version: 0.9.6
Version: 0.9.7
Authors@R: c(
person("Jacob", "Bien", role = "ctb"),
person("Logan", "Brooks", , "lcbrooks@andrew.cmu.edu", role = c("aut", "cre")),
Expand Down Expand Up @@ -36,13 +36,13 @@ Description: This package introduces common data structures for working with
License: MIT + file LICENSE
URL: https://cmu-delphi.github.io/epiprocess/
Depends:
epidatasets,
R (>= 3.6)
Imports:
checkmate,
cli,
data.table,
dplyr (>= 1.1.0),
epidatasets,
genlasso,
ggplot2,
glue,
Expand Down
5 changes: 0 additions & 5 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,14 @@ S3method(ungroup,epi_df)
S3method(ungroup,grouped_epi_archive)
S3method(unnest,epi_df)
export("%>%")
export(archive_cases_dv_subset)
export(arrange)
export(arrange_canonical)
export(as_epi_archive)
export(as_epi_df)
export(as_tsibble)
export(autoplot)
export(cases_deaths_subset)
export(clone)
export(complete)
export(covid_case_death_rates_extended)
export(covid_incidence_county_subset)
export(covid_incidence_outliers)
export(deprecated_quo_is_present)
export(detect_outlr)
export(detect_outlr_rm)
Expand Down
11 changes: 6 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat

## Breaking changes

- Moved example datasets from being hosted in the package to being reexported
from the `epidatasets` package. The datasets can no longer be loaded with
`data()` but can be accessed with `epiprocess::` or, after loading the
package, just the name of the dataset (#520). Those with names starting with
- Moved example datasets from being hosted in the package to being fetched
from `epidatasets`. The `epidatasets` package is now auto-loaded as a
dependency of `epiprocess`. The datasets can still be fetched, after loading
the package, with `data()` or the name of the dataset alone, or can be
accessed with `epidatasets::`. Datasets with names starting
`jhu` have been renamed to a more uniform scheme and now have names starting
with `covid`. The data set previously named `jhu_confirmed_cumulative_num` has
been removed from the package, but a renamed version is has been removed from
the package, but a renamed version is still available in `epidatasets`.
the package, but a renamed version is still available in `epidatasets` (#520, #577).

## Bug fixes

Expand Down
105 changes: 0 additions & 105 deletions R/reexports.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,108 +75,3 @@ tidyr::full_seq
#' @importFrom ggplot2 autoplot
#' @export
ggplot2::autoplot


# epidatasets -------------------------------------------------------------------

#' @inherit epidatasets::cases_deaths_subset description source references title
#' @inheritSection epidatasets::cases_deaths_subset Data dictionary
#' @examples
#' # Since this is a re-exported dataset, it cannot be loaded using
#' # the `data()` function. `data()` looks for a file of the same name
#' # in the `data/` directory, which doesn't exist in this package.
#' # works
#' epiprocess::cases_deaths_subset
#'
#' # works
#' library(epiprocess)
#' cases_deaths_subset
#'
#' # fails
#' \dontrun{
#' data(cases_deaths_subset, package = "epiprocess")
#' }
#' @export
delayedAssign("cases_deaths_subset", epidatasets::cases_deaths_subset)

#' @inherit epidatasets::covid_incidence_county_subset description source references title
#' @inheritSection epidatasets::covid_incidence_county_subset Data dictionary
#' @examples
#' # Since this is a re-exported dataset, it cannot be loaded using
#' # the `data()` function. `data()` looks for a file of the same name
#' # in the `data/` directory, which doesn't exist in this package.
#' # works
#' epiprocess::covid_incidence_county_subset
#'
#' # works
#' library(epiprocess)
#' covid_incidence_county_subset
#'
#' # fails
#' \dontrun{
#' data(covid_incidence_county_subset, package = "epiprocess")
#' }
#' @export
delayedAssign("covid_incidence_county_subset", epidatasets::covid_incidence_county_subset)

#' @inherit epidatasets::covid_incidence_outliers description source references title
#' @inheritSection epidatasets::covid_incidence_outliers Data dictionary
#' @examples
#' # Since this is a re-exported dataset, it cannot be loaded using
#' # the `data()` function. `data()` looks for a file of the same name
#' # in the `data/` directory, which doesn't exist in this package.
#' # works
#' epiprocess::covid_incidence_outliers
#'
#' # works
#' library(epiprocess)
#' covid_incidence_outliers
#'
#' # fails
#' \dontrun{
#' data(covid_incidence_outliers, package = "epiprocess")
#' }
#' @export
delayedAssign("covid_incidence_outliers", epidatasets::covid_incidence_outliers)

#' @inherit epidatasets::archive_cases_dv_subset description source references title
#' @inheritSection epidatasets::archive_cases_dv_subset Data dictionary
#' @examples
#' # Since this is a re-exported dataset, it cannot be loaded using
#' # the `data()` function. `data()` looks for a file of the same name
#' # in the `data/` directory, which doesn't exist in this package.
#' # works
#' epiprocess::archive_cases_dv_subset
#'
#' # works
#' library(epiprocess)
#' archive_cases_dv_subset
#'
#' # fails
#' \dontrun{
#' data(archive_cases_dv_subset, package = "epiprocess")
#' }
#'
#' @export
delayedAssign("archive_cases_dv_subset", epidatasets::archive_cases_dv_subset)

#' @inherit epidatasets::covid_case_death_rates_extended description source references title
#' @inheritSection epidatasets::covid_case_death_rates_extended Data dictionary
#' @examples
#' # Since this is a re-exported dataset, it cannot be loaded using
#' # the `data()` function. `data()` looks for a file of the same name
#' # in the `data/` directory, which doesn't exist in this package.
#' # works
#' epiprocess::covid_case_death_rates_extended
#'
#' # works
#' library(epiprocess)
#' covid_case_death_rates_extended
#'
#' # fails
#' \dontrun{
#' data(covid_case_death_rates_extended, package = "epiprocess")
#' }
#'
#' @export
delayedAssign("covid_case_death_rates_extended", epidatasets::covid_case_death_rates_extended)
8 changes: 0 additions & 8 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ reference:
- epix_fill_through_version
- epix_truncate_versions_after

- title: Example data
- contents:
- cases_deaths_subset
- archive_cases_dv_subset
- covid_incidence_county_subset
- covid_incidence_outliers
- covid_case_death_rates_extended

- title: internal
- contents:
- starts_with("internal")
84 changes: 0 additions & 84 deletions man/archive_cases_dv_subset.Rd

This file was deleted.

79 changes: 0 additions & 79 deletions man/cases_deaths_subset.Rd

This file was deleted.

Loading
Loading