Learn R Programming

nhdplusTools (version 0.7.1)

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")

Value

data.frame contianing requested characteristics

Arguments

nldi_feature

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

type

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

Examples

Run this code
# \donttest{
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