nhd_get function

Download and cache NHD data by state

Download and cache NHD data by state

nhd_get(state = NA, force_dl = FALSE, force_unzip = FALSE, temporary = TRUE)

Arguments

  • state: character state abbreviation includes "DC", "PR", and "VI"
  • 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 NHD data for the specified state

Examples

## Not run: nhd_get(state = c("DC")) nhd_get(state = c("RI", "CT")) ## End(Not run)

Other functions in nhdR

Related functions from the same R package

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