Skip to content
Snippets Groups Projects
getSiteFileData.Rd 723 B
Newer Older
% Generated by roxygen2 (4.0.2): do not edit by hand
Laura A DeCicco's avatar
Laura A DeCicco committed
\name{getSiteFileData}
\alias{getSiteFileData}
\title{USGS Site File Data Retrieval}
\usage{
Laura A DeCicco's avatar
Laura A DeCicco committed
getSiteFileData(siteNumber)
Laura A DeCicco's avatar
Laura A DeCicco committed
}
\arguments{
Laura A DeCicco's avatar
Laura A DeCicco committed
\item{siteNumber}{string USGS site number.  This is usually an 8 digit number}
Laura A DeCicco's avatar
Laura A DeCicco committed
}
\value{
Laura A DeCicco's avatar
Laura A DeCicco committed
retval dataframe with all information found in the expanded site file
Laura A DeCicco's avatar
Laura A DeCicco committed
}
\description{
Laura A DeCicco's avatar
Laura A DeCicco committed
Imports data from USGS site file site. This function gets data from here: \url{http://waterservices.usgs.gov/}
Laura A DeCicco's avatar
Laura A DeCicco committed
}
\examples{
# These examples require an internet connection to run
siteINFO <- getSiteFileData('05114000')
Laura A DeCicco's avatar
Laura A DeCicco committed
siteINFOMulti <- getSiteFileData(c('05114000','09423350'))
Laura A DeCicco's avatar
Laura A DeCicco committed
}
Laura A DeCicco's avatar
Laura A DeCicco committed
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}