grabBOR.data: grabBOR.data

Description Usage Arguments Value Author(s) References See Also Examples

Description

A data downloading tool for reservoirs managed by the United States Bureau of Reclamation. Data retrieval is limited by the speed of the connection, if timeout errors persist break requested time periods down into smaller chunks, or use a faster connection.

Usage

1
grabBOR.data(site_id, timescale, DayBgn, DayEnd)

Arguments

site_id

The BOR site ID. Use grabNRCS.meta to retrieve a list of available sites in a specified network. Consider using the package 'metScanR' to locate sites.

timescale

Specify the desired timescale of the data. Typically 'hourly', 'daily', or 'monthly'

DayBgn

Specify the beginning date (as YYYY-MM-DD ) for the returned data.

DayEnd

Specify the end date (as YYYY-MM-DD ) for the returned data.

Value

Returns a data frame of requested data and a list of varaibles with no data.

Author(s)

Robert Lee rhlee@colorado.edu

References

Downloads <https://wcc.sc.egov.usda.gov/reportGenerator>

See Also

Currently none

Examples

1
2
3
4
5
6
## Not run: 
JacksonLake<- grabBOR.data(site_id = 13010500, timescale = "monthly",
DayBgn="2016-01-01", DayEnd="2017-01-01")

## End(Not run)
#Return monthly summaries for the period of record at a Jackson Lake, WY.

RNRCS documentation built on May 1, 2019, 8:50 p.m.

Related to grabBOR.data in RNRCS...