Skip to content

Commit

Permalink
Point at Weds release by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Nov 20, 2024
1 parent bcde112 commit 8b0d090
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/pull_nhsn.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8b0d090

Please sign in to comment.