Skip to contents

[Deprecated]

This endpoint was previously deprecated and remains available for historical reference. The underlying data source is no longer updated and no new data is being ingested. For more details, refer to the "Endpoints kept for historical reference" section of vignette("migration-guide"), and visit the V5 signals documentation.

API docs: https://cmu-delphi.github.io/delphi-epidata/api/dengue_nowcast.html

Usage

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

Arguments

locations

character. List of locations to fetch. See the codes for countries and territories in the Americas. # nolint

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_list(). Additional arguments to pass to fetch(). See fetch_args_list() for details.

See also

For example queries showing how to discover signals and build calls, see vignette("signal-discovery", package = "epidatr").

Examples


pub_dengue_nowcast(
  locations = "pr",
  epiweeks = epirange(201401, 202301)
)
#> `pub_dengue_nowcast()` covers a data source that is no longer updated.
#> ℹ Historical data remains available, but no new data is being ingested.
#> ℹ See the "Endpoints kept for historical reference" section of
#>   `vignette("migration-guide")` (or
#>   <https://cmu-delphi.github.io/epidatr/articles/migration-guide.html#endpoints-kept-for-historical-reference>)
#>   for details.
#> This message is displayed once per session.
#> # 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