Description Usage Arguments Value See Also Examples
PrettyUsgs
beautifies data frames of USGS data. This is the S3
constructor for the PrettyUsgs object.
1 | PrettyUsgs(data, tz = "UTC", metric = TRUE, na.rm = TRUE)
|
data |
Dataframe from QuerySiteData |
tz |
Character The timezone for the POSIXct dataTime variable to be returned. |
metric |
Logical. Units are either metric or not (not both). |
na.rm |
Logical Remove all missing observations? |
dataframe similar to input with improved names and/or metric variables.
Other streamObs: FindUsgsStns
,
GetSiteHuc
, GetUsgsHucData
,
GetUsgsIvProduct
,
ImproveHucMeta
, LoadMetaDB
,
PlotPrettyUsgs
,
QueryHaveSite
, QuerySiteData
,
QuerySiteInfo
, QuerySiteName
,
QuerySiteProd
, SaveHucData
,
[.prettyUsgs
,
subset.prettyUsgs
1 2 3 4 5 6 7 8 | ## Not run:
p='~/wrfHydroTestCases/usgsDb/'
dataOrodell <- PrettyUsgs(QuerySiteData(QuerySiteName("FOURMILE CREEK AT ORODELL, CO", p),
'00060', p), metric=TRUE)
## multisite and multiproduct case
dataMultiHuc <- PrettyUsgs(QuerySiteData(c('06730500','02470072'),c('00065','00060'),p))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.