QueryHaveSite: General purpose query/get for instantaneous USGS streamflow...

Description Usage Arguments Value See Also Examples

View source: R/usgs_ingest.R

Description

QueryHaveSite

Usage

1
2
3
QueryHaveSite(site, path = ".",
  metaDBFileName = "usgsDataRetrieval.metaDatabase.RData", get = FALSE,
  retData = FALSE)

Arguments

site

Character USGS site number.

path

Character The path to the database.

metaDBFileName

Character The name of the metadata file.

get

Logical Get the data from NWIS if it is not local? Data are saved to local database.

retData

Logical OR Character If true return all products, otherwise return the specified product. If get from NWIS, all products are retrieved and saved locally but only specified products are returned.

Value

See retData argument.

See Also

Other streamObs: FindUsgsStns, GetSiteHuc, GetUsgsHucData, GetUsgsIvProduct, ImproveHucMeta, LoadMetaDB, PlotPrettyUsgs, PrettyUsgs, QuerySiteData, QuerySiteInfo, QuerySiteName, QuerySiteProd, SaveHucData, [.prettyUsgs, subset.prettyUsgs

Examples

1
2
3
4
## Not run: 
haveOro <- QueryHaveSite('06727500', path='~/wrfHydroTestCases/usgsDb', retData=TRUE)

## End(Not run)

mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.