Description Usage Arguments Value See Also Examples
QuerySiteName returns the name (site id) for a given site ID (name) in
the local database.
1 2 3 4 | QuerySiteName(site, path = ".",
retSiteId = tryCatch(is.na(as.numeric(site)), warning = function(w)
TRUE, error = function(e) TRUE),
metaDBFileName = "usgsDataRetrieval.metaDatabase.RData")
|
site |
Character USGS site number or name. |
path |
Character The path to the database. |
retSiteId |
Logical return ID (name if FALSE) This is only exposed in case there are issues, should work by default. |
metaDBFileName |
Character The name of the metadata file. |
Character Site name or number.
Other streamObs: FindUsgsStns,
GetSiteHuc, GetUsgsHucData,
GetUsgsIvProduct,
ImproveHucMeta, LoadMetaDB,
PlotPrettyUsgs, PrettyUsgs,
QueryHaveSite, QuerySiteData,
QuerySiteInfo, QuerySiteProd,
SaveHucData, [.prettyUsgs,
subset.prettyUsgs
1 2 3 4 5 | ## Not run:
QuerySiteName('06730500', '~/streamflow/OBS/')
QuerySiteName('BOULDER CREEK AT MOUTH NEAR LONGMONT, CO', '~/streamflow/OBS/')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.