Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/getDrainageArea.R View source: R/getDrainageArea.R
This function accepts a url parameter that already contains the desired NWIS site. It returns a drain_area value.
1 | getDrainageArea(drain_url)
|
drain_url |
string containing the url for the retrieval |
drain_area a numeric value of the drainage area for a given site
1 2 3 4 | drainage_url<-"http://waterservices.usgs.gov/nwis/site/?siteOutput=Expanded&site="
sites<-"02177000"
drain_url<-paste(drainage_url,sites,sep="")
getDrainageArea(drain_url)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.