List available locally cached NHDplus layers per state

nhd_plus_list(vpu, component = "NHDSnapshot", file_ext = NA, ...)

Arguments

vpu

numeric vector processing unit

component

character component name

file_ext

character choice of "shp" for spatial data and "dbf" for non-spatial. optional

...

arguments passed to list.files. optional.

Value

A character vector of NHD layers for the specified vpu

Examples

if (FALSE) {
nhd_plus_list(vpu = 4)
nhd_plus_list(vpu = 4, full.names = TRUE)

nhd_plus_list(vpu = 1, component = "NHDPlusAttributes")
nhd_plus_list(vpu = "National", component = "V1_To_V2_Crosswalk")
}