Return NHDplus layer metadata and field listing

nhd_plus_info(vpu, component, dsn, file_ext = NA)

Arguments

vpu

numeric vector processing unit

component

character component name

dsn

character data source name

file_ext

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

Value

An ogrinfo object from the sf package

Examples

if (FALSE) {
nhd_plus_info(vpu = 4, component = "NHDSnapshot", dsn = "NHDWaterbody")
nhd_plus_info(vpu = 1, component = "NHDPlusAttributes", dsn = "PlusFlow")
}