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.
41 lines
1.2 KiB
41 lines
1.2 KiB
7 years ago
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/ilinet.r
|
||
|
\name{ilinet}
|
||
|
\alias{ilinet}
|
||
|
\title{Retrieve ILINet Surveillance Data}
|
||
|
\usage{
|
||
|
ilinet(region = c("national", "hhs", "census", "state"))
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{region}{one of "\code{national}", "\code{hhs}", "\code{census}", or "\code{state}"}
|
||
|
}
|
||
|
\description{
|
||
|
The CDC FluView Portal provides in-season and past seasons' national, regional,
|
||
|
and state-level outpatient illness and viral surveillance data from both
|
||
|
ILINet (Influenza-like Illness Surveillance Network) and WHO/NREVSS
|
||
|
(National Respiratory and Enteric Virus Surveillance System).
|
||
|
}
|
||
|
\details{
|
||
|
This function retrieves current and historical ILINet surveillance data for
|
||
|
the identified region.
|
||
|
}
|
||
|
\examples{
|
||
|
national_ili <- ilinet("national")
|
||
|
hhs_ili <- ilinet("hhs")
|
||
|
census_ili <- ilinet("census")
|
||
|
state_ili <- ilinet("state")
|
||
|
\dontrun{
|
||
|
library(purrr)
|
||
|
map_df(
|
||
|
c("national", "hhs", "census", "state"),
|
||
|
~ilinet(.x) \%>\% readr::type_convert())
|
||
|
}
|
||
|
}
|
||
|
\references{
|
||
|
\itemize{
|
||
|
\item \href{https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html}{CDC FluView Portal}
|
||
|
\item \href{https://wwwn.cdc.gov/ilinet/}{ILINet Portal} (Login required)
|
||
|
\item \href{https://www.cdc.gov/surveillance/nrevss/index.html}{WHO/NREVSS}
|
||
|
}
|
||
|
}
|