API docs: https://cmu-delphi.github.io/delphi-epidata/api/fluview.html. For
Obtains information on outpatient inluenza-like-illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet).
more information on ILINet, see https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html.
pub_fluview(
regions,
epiweeks = "*",
...,
issues = NULL,
lag = NULL,
auth = NULL,
fetch_args = fetch_args_list()
)character. Locations to fetch. Can be any string IDs in national, HHS region, census division, most states and territories, and so on. Full list link below.
timeset. Epiweeks to fetch in the form
epirange(startweek, endweek), where startweek and endweek are of the form
YYYYWW (string or numeric). Defaults to all ("*") dates.
not used for values, forces later arguments to bind by name
timeset. Optionally, the issues to fetch. If not set, the
most recent issue is returned. Mutually exclusive with lag.
integer. Optionally, the lag of the issues to fetch. If not set,
the most recent issue is returned. Mutually exclusive with issues.
string. Optionally, restricted access key (not the same as API key).
fetch_args. Additional arguments to pass to fetch().
The full list of location inputs can be accessed at https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py.
if (FALSE) {
pub_fluview(regions = "nat", epiweeks = epirange(201201, 202005))
}
Run the code above in your browser using DataLab