Learn R Programming

nhdplusTools (version 0.3.16)

discover_nldi_navigation: Discover NLDI Navigation Options

Description

Discover available navigation options for a given feature source and id.

Usage

discover_nldi_navigation(nldi_feature, tier = "prod")

Arguments

nldi_feature

length 2 list list with optional 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`. e.g. list("nwissite", "USGS-08279500")

tier

character optional "prod" or "test"

Value

data.frame with three columns "source", "sourceName" and "features"

Examples

Run this code
# NOT RUN {
discover_nldi_sources()

nldi_nwis <- list(featureSource = "nwissite", featureID = "USGS-08279500")

discover_nldi_navigation(nldi_nwis)

discover_nldi_navigation(list("nwissite", "USGS-08279500"))
# }

Run the code above in your browser using DataLab