cdcfluview (version 0.9.3)

ili_weekly_activity_indicators: Retrieve weekly state-level ILI indicators per-state for a given season

Description

Retrieve weekly state-level ILI indicators per-state for a given season

Usage

ili_weekly_activity_indicators(years = NULL)

Arguments

years

a vector of years to retrieve data for (i.e. 2014 for CDC flu season 2014-2015). CDC has data for this API going back to 2008 and up until the current, active flu season. Default value (NULL) means retrieve all years. NOTE: if you happen to specify a 2-digit season value (i.e. 57 == 2017-2018) the function is smart enough to retrieve by season ID vs convert that to a year.

References

Examples

Run this code
# NOT RUN {
iwai <- ili_weekly_activity_indicators(2016)
# }

Run the code above in your browser using DataCamp Workspace