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

get_nldi_characteristics(nldi_feature, type = "local")

Arguments

nldi_feature

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

type

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

Value

data.frame containing requested characteristics

Examples

# \donttest{
chars <- get_nldi_characteristics(list(featureSource = "nwissite", featureID = "USGS-05429700"))
names(chars)
#> [1] "local"
head(chars$local, 10)
#>    characteristic_id characteristic_value percent_nodata
#> 1  CAT_WILDFIRE_2011                    0            100
#> 2        CAT_CONTACT                47.28              0
#> 3            CAT_EWT               -18.74              0
#> 4      CAT_FUNGICIDE                 1.25              0
#> 5           CAT_IEOF                    2              0
#> 6            CAT_PET               644.71              0
#> 7          CAT_RECHG               133.18              0
#> 8          CAT_SATOF                    2              0
#> 9            CAT_TWI                14.05              0
#> 10    CAT_WB5100_ANN               215.97              0
# }