Skip to content

Commit c98bd43

Browse files
committed
Audited examples in endpoint.r, see TODO items for further edits needed.
1 parent 2ee8867 commit c98bd43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/endpoints.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,12 @@ pub_covid_hosp_facility_lookup <- function(
161161
#' hospital_pks = "100075",
162162
#' collection_weeks = epirange(20200101, 20200501)
163163
#' )
164-
#'
164+
#'
165165
#' pub_covid_hosp_facility(
166166
#' hospital_pks = "100075",
167167
#' collection_weeks = epirange(202001, 202005)
168168
#' )
169+
#' TODO no results, and `collection_weeks` is in week format but `pub_covid_hosp_facility` expects day format
169170
#' }
170171
#' @param hospital_pks character. Facility identifiers.
171172
#' @param collection_weeks [`timeset`]. Dates (corresponding to epiweeks) to
@@ -1851,6 +1852,7 @@ pub_nidss_flu <- function(
18511852
#' locations = "1",
18521853
#' epiweeks = 201233
18531854
#' )
1855+
#' TODO warning no results
18541856
#' }
18551857
#' @param auth string. Your authentication key.
18561858
#' @param locations character. Locations to fetch.

0 commit comments

Comments
 (0)