Description Usage Arguments See Also Examples
FindUsgsStns
wraps dataRetrieval::whatNWISsites
with common
options for finding USGS gauges. See the dataRetrieval package for more
deails on what else could be passed or how this could be modified. One
improvement here would be to order results by proximity to supplied lat/lon
and filter to nClosest.
1 2 |
stnLon |
optional |
stnLat |
optional |
within |
optional, goes with stnLon and stnLat and specifies a search radius in decimal degrees. |
huc8 |
optional EIGHT digit HUC code. |
siteType |
the type of USGS site to look for. |
hasDataTypeCd |
the kind of data of interest (iv=instantaneous, dv=daily, etc.) |
Other streamObs: GetSiteHuc
,
GetUsgsHucData
,
GetUsgsIvProduct
,
ImproveHucMeta
, LoadMetaDB
,
PlotPrettyUsgs
, PrettyUsgs
,
QueryHaveSite
, QuerySiteData
,
QuerySiteInfo
, QuerySiteName
,
QuerySiteProd
, SaveHucData
,
[.prettyUsgs
,
subset.prettyUsgs
1 2 3 4 5 6 7 8 | ## Not run:
stnDf <- FindUsgsStns(huc8='10190005')
stnDf <- FindUsgsStns(huc8=c('10190005','03160203'))
stnDf <- FindUsgsStns(stnLon=254.67374999999998408,stnLat=40.018666670000001773,within=.001)
stnDf <- FindUsgsStns(stnLon=c(254.67374999999998408,-87.747224700000004),
stnLat=c(40.018666670000001773, 31.864042489999999),within=.001)
## End(Not run) #dontrun
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.