Skip to content

updating covid_cases_deaths #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: epidatasets
Title: Epidemiological Data for Delphi Tooling Examples
Version: 0.0.1
Version: 0.0.2
Authors@R: c(
person(c("Daniel", "J."), "McDonald", , "[email protected]", role = "aut"),
person("Nat", "DeFries", , "[email protected]", role = c("cre", "aut")),
Expand Down
2 changes: 1 addition & 1 deletion R/epipredict-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' This data source of confirmed COVID-19 cases and deaths is based on reports
#' made available by the Center for Systems Science and Engineering at Johns
#' Hopkins University, as downloaded from the CMU Delphi COVIDcast Epidata
#' API. This example data is a snapshot as of May 31, 2022, and
#' API. This example data is a snapshot as of March 10, 2023, and
#' ranges from December 31, 2020 to December 31, 2021. It
#' includes all states.
#'
Expand Down
2 changes: 1 addition & 1 deletion R/epiprocess-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
#' This data source of confirmed COVID-19 cases and deaths is based on reports
#' made available by the Center for Systems Science and Engineering at Johns
#' Hopkins University, as downloaded from the CMU Delphi COVIDcast Epidata
#' API. This example data is a snapshot as of May 31, 2022, and
#' API. This example data is a snapshot as of March 10, 2023, and
#' ranges from March 1, 2020 to December 31, 2021. It
#' includes all states.
#'
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion data-raw/covid_case_death_rates_extension_tbl.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ library(epidatr)

source(here::here("data-raw/_helper.R"))

d <- as.Date("2022-05-31")
d <- as.Date("2023-03-10")

x <- pub_covidcast(
source = "jhu-csse",
Expand Down
2 changes: 1 addition & 1 deletion data-raw/covid_case_death_rates_tbl.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ library(epidatr)

source(here::here("data-raw/_helper.R"))

d <- as.Date("2022-05-31")
d <- as.Date("2023-03-10")

x <- pub_covidcast(
source = "jhu-csse",
Expand Down
2 changes: 1 addition & 1 deletion data/covid_case_death_rates.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
delayedAssign("covid_case_death_rates", local({
if (requireNamespace("epiprocess", quietly = TRUE)) {
d <- as.Date("2022-05-31")
d <- as.Date("2023-03-10")
epiprocess::as_epi_df(epidatasets:::covid_case_death_rates_tbl, as_of = d)
} else {
warning("Since the package `epiprocess` is not installed, this object will be loaded as a tibble (class `tbl_df`)")
Expand Down
2 changes: 1 addition & 1 deletion data/covid_case_death_rates_extended.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
delayedAssign("covid_case_death_rates_extended", local({
if (requireNamespace("epiprocess", quietly = TRUE)) {
d <- as.Date("2022-05-31")
d <- as.Date("2023-03-10")
epiprocess::as_epi_df(
dplyr::bind_rows(
epidatasets:::covid_case_death_rates_extension_tbl,
Expand Down
2 changes: 1 addition & 1 deletion man/covid_case_death_rates.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/covid_case_death_rates_extended.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading