findNHD: Find National Hydrography River Networks

Description Usage Arguments Value Author(s) Examples

View source: R/findNHD.R

Description

findNHD returns a SpatialLinesDataframe of all NHDFlowlines reaches within an AOI. Data comes from the USGS CIDA server and contain 90 attributes, perhaps most notably:

Usage

1
2
findNHD(AOI = NULL, comid = NULL, nwis = NULL, streamorder = NULL,
  crop = T)

Arguments

AOI

A Spatial* or simple features geometry, can be piped from getAOI

ids

If TRUE, a vector of NHD COMIDs is added to retuned list (default = FALSE)

Value

a list() of minimum length 2: AOI and nhd

Author(s)

Mike Johnson

Examples

1
2
3
4
## Not run: 
nhd  = getAOI(clip = list("Tuscaloosa, AL", 10, 10)) %>% findNHD()

## End(Not run)

mikejohnson51/HydroData documentation built on May 29, 2019, 2:34 p.m.