Skip to contents

Usage

pub_dengue_nowcast(locations, epiweeks = "*", fetch_args = fetch_args_list())

Arguments

locations

character. List of locations to fetch.

epiweeks

timeset. Epiweeks to fetch. Supports epirange() and defaults to all ("*") dates. Format as epirange(startweek, endweek), where startweek and endweek are of the form YYYYWW (string or numeric).

fetch_args

fetch_args. Additional arguments to pass to fetch(). See fetch_args_list() for details.

Examples


pub_dengue_nowcast(
  locations = "pr",
  epiweeks = epirange(201401, 202301)
)
#> # A tibble: 320 × 4
#>    location epiweek    value   std
#>    <chr>    <date>     <dbl> <dbl>
#>  1 pr       2014-02-23  92.7  547.
#>  2 pr       2014-03-02  96.8  601.
#>  3 pr       2014-03-09  93.5  655.
#>  4 pr       2014-03-16  87.8  707.
#>  5 pr       2014-03-23  94.0  758.
#>  6 pr       2014-03-30  88.1  807.
#>  7 pr       2014-04-06  93.7  858.
#>  8 pr       2014-04-13 135.   740.
#>  9 pr       2014-04-20 145.   767.
#> 10 pr       2014-04-27 102.   793.
#> # ℹ 310 more rows