Learn R Programming

nhdplusTools (version 0.3.16)

get_nldi_characteristics: Get Catchment Characteristics

Description

Retrieves catchment characteristics from the Network Linked Data Index. Metadata for these characteristics can be found using `discover_nldi_characteristics()`.

Usage

get_nldi_characteristics(nldi_feature, type = "local", tier = "prod")

Arguments

nldi_feature

list with names `featureSource` and `featureID` where `featureSource` is derived from the "source" column of the response of discover_nldi_sources() and the `featureSource` is a known identifier from the specified `featureSource`.

type

character "all", "local", "total", or "divergence_routed".

tier

character optional "prod" or "test"

Examples

Run this code
# NOT RUN {
chars <- get_nldi_characteristics(list(featureSource = "nwissite", featureID = "USGS-05429700"))
names(chars)
head(chars$local, 10)
# }

Run the code above in your browser using DataLab