# NOT RUN {
# Find Features / Define origin features
## Find feature by COMID
findNLDI(comid = 101)
## Find feature by NWIS ID
findNLDI(nwis = '11120000')
## Find feature by WQP ID
findNLDI(wqp = 'USGS-04024315')
## Find feature by LOCATION
findNLDI(location = c(-115,40))
## GENERAL ORIGIN: COMID
findNLDI(origin = list("comid" = 101))
## GENERAL ORIGIN: WaDE
findNLDI(origin = list("wade" = 'CA_45206'))
# Navigation (flowlines will be returned if find is unspecified)
# UPPER MAINSTEM of USGS-11120000
findNLDI(nwis = '11120000', nav = "UM")
# MULTI-REQUEST
# UPPER MAINSTEM and TRIBUTARY of USGS-11120000
findNLDI(nwis = '11120000', nav = c("UT", "UM"))
# Discover Features(flowlines will not be returned unless included in find)
## Find feature(s) on the upper tributary of USGS-11120000
findNLDI(nwis = '11120000', nav = "UT", find = c("nwis", "wqp"))
## Find upstream basin boundary and of USGS-11120000
findNLDI(nwis = '11120000', find = "basin")
# Control Distance
## Limit search to 50 km
findNLDI(comid = 101, nav = "DM", find = c("nwis", "wqp", "flowlines"), distance_km = 50)
# }
Run the code above in your browser using DataLab