Skip to contents

This is point data only, and does not include minima or maxima.

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

This is the documentation of the API for accessing the NoroSTAT endpoint of the Delphi’s epidemiological data.

Usage

pvt_norostat(auth, locations, epiweeks = "*", fetch_args = fetch_args_list())

Arguments

auth

string. Your restricted access key (not the same as API key).

locations

character. Locations to fetch. Only a specific list of full state names are permitted. See the locations column in the output of pvt_meta_norostat() for the allowed values.

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

if (FALSE) { # curl::has_internet() && Sys.getenv("SECRET_API_AUTH_NOROSTAT") != ""

pvt_norostat(
  auth = Sys.getenv("SECRET_API_AUTH_NOROSTAT"),
  locations = "Minnesota, Ohio, Oregon, Tennessee, and Wisconsin",
  epiweeks = 201233
)
}