
Get CDC Influenza-like Illness (ILI) Data
Source:R/get_influenza_cdc_ili.R
get_influenza_cdc_ili.RdRetrieves ILI data for the 2019 and 2020 influenza outbreaks from the US CDC.
Value
A list containing:
updated: Last update timestamp (POSIXct).source: Source of the data.data: A data frame with the following columns:week: Week of reporting.age 5-24,age 25-49,age 50-64,age 64+: ILI counts per age group.totalILI: Total ILI cases.totalPatients: Total patients.
Returns NULL if the API is unavailable or an error occurs.