Skip to content
Snippets Groups Projects
getWaterML2Data.Rd 665 B
Newer Older
  • Learn to ignore specific revisions
  • \name{getWaterML2Data}
    \alias{getWaterML2Data}
    \title{Function to return data from the WaterML2 data}
    \usage{
      getWaterML2Data(obs_url)
    }
    \arguments{
      \item{obs_url}{string containing the url for the
      retrieval}
    }
    \value{
      mergedDF a data frame containing columns agency, site,
      dateTime, values, and remark codes for all requested
      combinations
    }
    \description{
      This function accepts a url parameter for a WaterML2
      getObservation
    }
    \examples{
    
    URL <- "http://webvastage6.er.usgs.gov/ogc-swie/wml2/dv/sos?request=GetObservation&featureID=435601087432701&observedProperty=00045&beginPosition=2012-01-01&offering=Sum"
    dataReturned3 <- getWaterML2Data(URL)