Skip to content

Commit 796f07a

Browse files
committed
docs: shorten example data ranges
1 parent 93e1727 commit 796f07a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

R/endpoints.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ pvt_dengue_sensors <- function(auth, names, locations, epiweeks) {
876876
#'
877877
#' @examples
878878
#' \donttest{
879-
#' ecdc_ili(regions = "austria", epiweeks = epirange(201201, 202001)) %>% fetch_classic()
879+
#' ecdc_ili(regions = "austria", epiweeks = epirange(201901, 202001)) %>% fetch_classic()
880880
#' }
881881
#' @param regions character vector. The regions to fetch.
882882
#' @param epiweeks [`epirange`]. The epiweeks to fetch.
@@ -930,7 +930,7 @@ ecdc_ili <- function(regions,
930930
#'
931931
#' @examples
932932
#' \donttest{
933-
#' flusurv(locations = "CA", epiweeks = epirange(201201, 202001)) %>% fetch_classic()
933+
#' flusurv(locations = "CA", epiweeks = epirange(201701, 201801)) %>% fetch_classic()
934934
#' }
935935
#' @param locations character vector. Character strings indicating location.
936936
#' @param epiweeks [`epirange`]. The epiweeks to fetch.
@@ -1301,7 +1301,7 @@ meta <- function() {
13011301
#'
13021302
#' @examples
13031303
#' \donttest{
1304-
#' nidss_dengue(locations = "taipei", epiweeks = epirange(201201, 202001)) %>% fetch_classic()
1304+
#' nidss_dengue(locations = "taipei", epiweeks = epirange(201201, 201301)) %>% fetch_classic()
13051305
#' }
13061306
#' @param locations character vector. The locations to fetch.
13071307
#' @param epiweeks [`epirange`]. The epiweeks to fetched.
@@ -1332,7 +1332,7 @@ nidss_dengue <- function(locations, epiweeks) {
13321332
#'
13331333
#' @examples
13341334
#' \donttest{
1335-
#' nidss_flu(regions = "taipei", epiweeks = epirange(201201, 202001)) %>% fetch_classic()
1335+
#' nidss_flu(regions = "taipei", epiweeks = epirange(201501, 201601)) %>% fetch_classic()
13361336
#' }
13371337
#' @param regions character vector. The regions to fetch.
13381338
#' @param epiweeks [`epirange`]. The epiweeks to fetch.
@@ -1387,7 +1387,7 @@ nidss_flu <-
13871387
#' pvt_norostat(
13881388
#' auth = "yourkey",
13891389
#' location = "Minnesota, Ohio, Oregon, Tennessee, and Wisconsin",
1390-
#' epiweeks = epirange(201201, 202001)
1390+
#' epiweeks = epirange(201401, 201501)
13911391
#' ) %>% fetch_classic()
13921392
#' }
13931393
#' @param auth string. Your authentication key.
@@ -1427,7 +1427,7 @@ pvt_norostat <- function(auth, locations, epiweeks) {
14271427
#'
14281428
#' @examples
14291429
#' \donttest{
1430-
#' nowcast(location = "ca", epiweeks = epirange(201201, 202001)) %>% fetch_classic()
1430+
#' nowcast(locations = "ca", epiweeks = epirange(201201, 201301)) %>% fetch_classic()
14311431
#' }
14321432
#' @param locations character vector. The locations to fetch.
14331433
#' @param epiweeks [`epirange`]. The epiweeks to fetch.
@@ -1638,7 +1638,7 @@ pvt_twitter <-
16381638
#'
16391639
#' @examples
16401640
#' \donttest{
1641-
#' wiki(articles = "avian_influenza", epiweeks = epirange(201501, 202001)) %>% fetch_tbl()
1641+
#' wiki(articles = "avian_influenza", epiweeks = epirange(201501, 201601)) %>% fetch_tbl()
16421642
#' }
16431643
#' @param articles character vector. The articles to fetch.
16441644
#' @param dates [`epirange`]. The dates to fetch. Mutually exclusive with `epiweeks`.

0 commit comments

Comments
 (0)