From c98bd437e01e7ff7a5c686cb35143fcf5f38c44b Mon Sep 17 00:00:00 2001 From: Tina Townes Date: Mon, 2 Sep 2024 21:44:35 -0400 Subject: [PATCH] Audited examples in endpoint.r, see TODO items for further edits needed. --- R/endpoints.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/endpoints.R b/R/endpoints.R index d920b77..dd4fa09 100644 --- a/R/endpoints.R +++ b/R/endpoints.R @@ -161,11 +161,12 @@ pub_covid_hosp_facility_lookup <- function( #' hospital_pks = "100075", #' collection_weeks = epirange(20200101, 20200501) #' ) -#' +#' #' pub_covid_hosp_facility( #' hospital_pks = "100075", #' collection_weeks = epirange(202001, 202005) #' ) +#' TODO no results, and `collection_weeks` is in week format but `pub_covid_hosp_facility` expects day format #' } #' @param hospital_pks character. Facility identifiers. #' @param collection_weeks [`timeset`]. Dates (corresponding to epiweeks) to @@ -1851,6 +1852,7 @@ pub_nidss_flu <- function( #' locations = "1", #' epiweeks = 201233 #' ) +#' TODO warning no results #' } #' @param auth string. Your authentication key. #' @param locations character. Locations to fetch.