This function pulls ILINet data from the CDC FluView API. Data are available historically and can be pulled at the state, national, or HHS region level.
Usage
get_cdc_ili(region = c("national", "state", "hhs"), years = NULL)
Value
A tibble
with the following columns:
location: FIPS code for the location
region_type: The type of location
abbreviation: Abbreviation for the location
region: Name of the region
epiyear: Year of reporting (in epidemiological week calendar)
epiweek: Week of reporting (in epidemiological week calendar)
week_start: Date of beginning (Sunday) of the given epidemiological week
weighted_ili: Population-weighted percentage of ILI outpatient visits
unweighted_ili: Unweighted percentage of ILI outpatient visits
ilitotal: Total number of ILI outpatient visits reported
num_providers: Number of providers reporting
total_patients: Total number of outpatient visits reported
population: Total population for the given location