diff --git a/DESCRIPTION b/DESCRIPTION index c79b1e3..967d158 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", , "daniel@stat.ubc.ca", role = "aut"), person("Nat", "DeFries", , "ndefries@andrew.cmu.edu", role = c("cre", "aut")), diff --git a/R/epipredict-data.R b/R/epipredict-data.R index f0ef2f7..b69a6ee 100644 --- a/R/epipredict-data.R +++ b/R/epipredict-data.R @@ -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. #' diff --git a/R/epiprocess-data.R b/R/epiprocess-data.R index c4d2b57..b0d9a6e 100644 --- a/R/epiprocess-data.R +++ b/R/epiprocess-data.R @@ -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. #' diff --git a/R/sysdata.rda b/R/sysdata.rda index 73ef614..9383401 100644 Binary files a/R/sysdata.rda and b/R/sysdata.rda differ diff --git a/data-raw/covid_case_death_rates_extension_tbl.R b/data-raw/covid_case_death_rates_extension_tbl.R index a8b3093..478d872 100644 --- a/data-raw/covid_case_death_rates_extension_tbl.R +++ b/data-raw/covid_case_death_rates_extension_tbl.R @@ -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", diff --git a/data-raw/covid_case_death_rates_tbl.R b/data-raw/covid_case_death_rates_tbl.R index 81d0fad..8f223a9 100644 --- a/data-raw/covid_case_death_rates_tbl.R +++ b/data-raw/covid_case_death_rates_tbl.R @@ -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", diff --git a/data/covid_case_death_rates.R b/data/covid_case_death_rates.R index 63ce38a..32e44cb 100644 --- a/data/covid_case_death_rates.R +++ b/data/covid_case_death_rates.R @@ -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`)") diff --git a/data/covid_case_death_rates_extended.R b/data/covid_case_death_rates_extended.R index ef1a2d8..eda788c 100644 --- a/data/covid_case_death_rates_extended.R +++ b/data/covid_case_death_rates_extended.R @@ -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, diff --git a/man/covid_case_death_rates.Rd b/man/covid_case_death_rates.Rd index 06c12da..4e2e725 100644 --- a/man/covid_case_death_rates.Rd +++ b/man/covid_case_death_rates.Rd @@ -34,7 +34,7 @@ covid_case_death_rates 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. } diff --git a/man/covid_case_death_rates_extended.Rd b/man/covid_case_death_rates_extended.Rd index 1f1c5fc..3be7d68 100644 --- a/man/covid_case_death_rates_extended.Rd +++ b/man/covid_case_death_rates_extended.Rd @@ -34,7 +34,7 @@ covid_case_death_rates_extended 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. }