nhd_plus_get function

Download and cache NHDplus data by vector processing unit

Download and cache NHDplus data by vector processing unit

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

Returns

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)

Other functions in nhdR

Related functions from the same R package

  • Maintainer: Jemma Stachelek
  • License: GPL
  • Last published: 2023-08-12