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
Value
An invisible list of file paths to NHD data for the specified state
Examples
if (FALSE) { # \dontrun{
nhd_get(state = c("DC"))
nhd_get(state = c("RI", "CT"))
} # }