Skip to content

Commit ea699cd

Browse files
committed
fix broken examples
1 parent c98bd43 commit ea699cd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

R/endpoints.R

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,9 @@ pub_covid_hosp_facility_lookup <- function(
163163
#' )
164164
#'
165165
#' pub_covid_hosp_facility(
166-
#' hospital_pks = "100075",
167-
#' collection_weeks = epirange(202001, 202005)
166+
#' hospital_pks = "050063",
167+
#' collection_weeks = epirange(20240101, 20240301)
168168
#' )
169-
#' TODO no results, and `collection_weeks` is in week format but `pub_covid_hosp_facility` expects day format
170169
#' }
171170
#' @param hospital_pks character. Facility identifiers.
172171
#' @param collection_weeks [`timeset`]. Dates (corresponding to epiweeks) to
@@ -1849,10 +1848,9 @@ pub_nidss_flu <- function(
18491848
#' \dontrun{
18501849
#' pvt_norostat(
18511850
#' auth = Sys.getenv("SECRET_API_AUTH_NOROSTAT"),
1852-
#' locations = "1",
1851+
#' locations = "Minnesota, Ohio, Oregon, Tennessee, and Wisconsin",
18531852
#' epiweeks = 201233
18541853
#' )
1855-
#' TODO warning no results
18561854
#' }
18571855
#' @param auth string. Your authentication key.
18581856
#' @param locations character. Locations to fetch.

0 commit comments

Comments
 (0)