nhdR (version 0.6.1)

nhd_plus_info: Return NHDplus layer metadata and field listing

Description

Return NHDplus layer metadata and field listing

Usage

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

Value

A column-wise summary of an sf/foreign read from the specfied layer

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

Examples

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

Run the code above in your browser using DataLab