Newer
Older
\title{Function to return data from the NWISWeb WaterML1.1 service}
\item{obs_url}{string containing the url for the retrieval}
mergedDF a data frame containing columns agency, site, dateTime, values, and remark codes for all requested combinations
This function accepts a url parameter that already contains the desired
NWIS site, parameter code, statistic, startdate and enddate.
}
\examples{
sites <- "02177000"
startDate <- "2012-09-01"
endDate <- "2012-10-01"
offering <- '00003'
property <- '00060'
obs_url <- constructNWISURL(sites,property,startDate,endDate,'dv')
data <- getWaterML1Data(obs_url)
urlMulti <- constructNWISURL("04085427",c("00060","00010"),startDate,endDate,'dv',statCd=c("00003","00001"))
multiData <- getWaterML1Data(urlMulti)
goundwaterExampleURL <- "http://waterservices.usgs.gov/nwis/gwlevels/?format=waterml&sites=431049071324301&startDT=2013-10-01&endDT=2014-06-30"
groundWater <- getWaterML1Data(goundwaterExampleURL)