GetUsgsHucData: Get all the USGS streamgage information within a HUC8.

Description Usage Arguments See Also Examples

Description

GetUsgsHucData gets all the USGS streamgage information within a HUC8. If an output path is supplied, an existing database is examined for existing records and the data retrieved from the USGS only extends the available and is saved in the data base. Could eventually use startDate and endDate to tweak this for calls which dont care about archival.

Usage

1
2
3
GetUsgsHucData(huc8, outPath = NULL,
  metaDBFileName = "usgsDataRetrieval.metaDatabase.RData",
  update = FALSE)

Arguments

huc8

Character The eight-digit HUC code.

outPath

Character The path to the database directory

metaDBFileName

Character The name of the database metadata file.

update

Logical, If huc exists on disk, update it byt getting new data from NWIS?

See Also

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

Examples

1
2
3
4
5
6
## Not run: 
bldrHucData    <- GetUsgsHucData(huc8='10190005')
satilpaHucData <- GetUsgsHucData(huc8='03160203')
vansHucData    <- GetUsgsHucData(huc8='03020104')

## End(Not run)

mccreigh/rwrfhydro documentation built on Feb. 28, 2021, 1:53 p.m.