From 8b0d0905b489175739a1f83e804021837a6a93af Mon Sep 17 00:00:00 2001 From: "Dylan H. Morris" Date: Wed, 20 Nov 2024 12:19:29 -0500 Subject: [PATCH] Point at Weds release by default --- R/pull_nhsn.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/pull_nhsn.R b/R/pull_nhsn.R index b867a55..fdce926 100644 --- a/R/pull_nhsn.R +++ b/R/pull_nhsn.R @@ -7,10 +7,10 @@ #' #' @param api_endpoint API endpoint to #' use. Defaults to the `https:`/`.json` Socrata -#' endpoint for NHSN COVID, Influenza, and RSV +#' endpoint for NHSN COVID, Influenza, and RSV Wednesday release of #' data on [`data.cdc.gov`](https://data.cdc.gov), namely -#' [`data.cdc.gov/resource/ua7e-t2fy.json` -#' ](https://data.cdc.gov/resource/ua7e-t2fy.json) +#' [`data.cdc.gov/resource/mpgq-jmmr.json` +#' ](https://data.cdc.gov/resource/mpgq-jmmr.json) #' @param api_key_id Key ID of an API key to use #' when querying the dataset. Not required, #' but polite and reduces throttling. @@ -52,7 +52,7 @@ #' @return the pulled data, as a [`tibble`][tibble::tibble()]. #' @export pull_nhsn <- function(api_endpoint = - "https://data.cdc.gov/resource/ua7e-t2fy.json", + "https://data.cdc.gov/resource/mpgq-jmmr.json", api_key_id = Sys.getenv("NHSN_API_KEY_ID"), api_key_secret = Sys.getenv("NHSN_API_KEY_SECRET"), start_date = NULL,