nhd_plus_get: Download and cache NHDplus data by vector processing unit

View source: R/get.R

nhd_plus_getR Documentation

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,
  temporary = TRUE
)

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

temporary

logical set FALSE to save data to a persistent rappdirs location

Value

An invisible list of file paths to NHDplus data for the specified vpu

Examples

## 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")

## End(Not run)

nhdR documentation built on Aug. 12, 2023, 9:06 a.m.