View source: R/getNOAAGuages.R
getNOAAGuages | R Documentation |
This function retrieves information on the hydraullic unit code given a USGS monitoring station ID.
getNOAAGuages( siteID, plotmap = TRUE, zoomFactor = 10, limitToWatershed = TRUE, getElevations = TRUE, leafletmap = NULL )
siteID |
the USGS site identified for stream flow analysis |
plotmap |
TRUE if output plot is desired |
zoomFactor |
the zoom factor of the output plot |
limitToWatershed |
only pull datapoints on the watershed |
getElevations |
retrieve elevations of datapoints |
leafletmap |
pass a leaflet map arguements, note the output changes to a list if this parameter is invoked |
Much of this code was drawn from this source. http://cyberhelp.sesync.org/leaflet-in-R-lesson/course/archive.html
getNOAAGuages("02131000")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.