nhdR (version 0.5.3)

nhd_plus_get: Download and cache NHDplus data by vector processing unit

Description

Download and cache NHDplus data by vector processing unit

Usage

nhd_plus_get(
  vpu = NA,
  component = "NHDSnapshot",
  force_dl = FALSE,
  force_unzip = FALSE
)

Arguments

vpu

numeric vector processing unit

component

character component name

force_dl

logical force a re-download of the requested data

force_unzip

logical force an unzip of downloaded data

Examples

Run this code
# NOT RUN {
# Spatial
nhd_plus_get(vpu = 4)
nhd_plus_get(vpu = "10L")
nhd_plus_get(vpu = 1, component = "NHDPlusAttributes")

# Non-spatial
nhd_plus_get(vpu = "National", component = "V1_To_V2_Crosswalk")
nhd_plus_get(vpu = 4, component = "EROMExtension")
# }

Run the code above in your browser using DataLab