Newer
Older
% Generated by roxygen2 (4.0.2): do not edit by hand
\title{Basic Water Quality Portal Data grabber}
\usage{
importWQP(url, zip = FALSE)
}
\arguments{
\item{url}{string URL to Water Quality Portal#'}
\item{zip}{logical used to request the data in a zip format (TRUE)}
}
\value{
retval dataframe raw data returned from the Water Quality Portal. Additionally, a POSIXct dateTime column is supplied for
start and end times.
}
\description{
Imports data from the Water Quality Portal based on a specified url.
}
\examples{
# These examples require an internet connection to run
rawSampleURL <- constructWQPURL('USGS-01594440','01075', '', '')
rawSample <- importWQP(rawSampleURL)
url2 <- paste0(rawSampleURL,"&zip=yes")
rawSample2 <- importWQP(url2, TRUE)
}
\keyword{USGS}
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}