View source: R/getWebServiceData.R
getWebServiceData | R Documentation |
This function accepts a url parameter, and returns the raw data. The function enhances
GET
with more informative error messages.
getWebServiceData(obs_url, ...)
obs_url |
character containing the url for the retrieval |
... |
information to pass to header request |
raw data from web services
siteNumber <- "02177000"
startDate <- "2012-09-01"
endDate <- "2012-10-01"
offering <- "00003"
property <- "00060"
obs_url <- constructNWISURL(siteNumber, property, startDate, endDate, "dv")
rawData <- getWebServiceData(obs_url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.