You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
703 B

9 years ago
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/get_state_data.r
9 years ago
\name{get_state_data}
\alias{get_state_data}
\title{Retrieves the state-level data from the CDC's FluView Portal}
\usage{
get_state_data(years = 2014)
}
\arguments{
9 years ago
\item{years}{a vector of years to retrieve data for (i.e. \code{2014} for CDC flu season 2014-2015)}
9 years ago
}
\value{
A \code{data.frame} of state-level data for the specified seasons
}
\description{
Uses the data source from the CDC' State-levelFluView \url{http://gis.cdc.gov/grasp/fluview/main.html}
and provides state flu reporting data as a single data frame
}
\examples{
\dontrun{
get_state_dat(2014)
9 years ago
get_state_data(c(2013, 2014))
9 years ago
}
}