grabNRCS.data: grabNRCS.data

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

Description

A data downloading tool for NRCS networks. 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
grabNRCS.data(network, site_id, timescale, DayBgn, DayEnd)

Arguments

network

The network of the NRCS/AWDB site of interest. Currently only works for options: 'SCAN','SNTL','SNTLT', and 'OTHER'.

site_id

The NRCS 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. Only elements with at least one data will be returned in the data frame.

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: 
grabNRCS.data(network="SNTLT", site_id=1198, timescale="monthly",
DayBgn = '2017-01-01', DayEnd = '2017-05-01')
#Return monthly summaries between January and May 2017 of record at a SNOLITE site.

## End(Not run)

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

Related to grabNRCS.data in RNRCS...