nhd_dl_state function

nhd_dl_state

nhd_dl_state

nhd_dl_state( state, state_exists, yes_dl, file_ext, dsn = NA, wkt_filter = NA, temporary = FALSE, ... )

Arguments

  • state: state abbreviation
  • state_exists: 1 for file exists on disk
  • yes_dl: 1 for downloading the state gdb file
  • file_ext: file extension ("gdb", etc)
  • dsn: name of gdb layer
  • wkt_filter: a text string of coordinates see sf::st_read
  • temporary: logical set FALSE to save data to a persistent rappdirs location
  • ...: other arguments passed to sf::st_read

Examples

## Not run: nhd_dl_state("RI", 1, 0, NA, "NHDWaterbody") ## End(Not run)

Other functions in nhdR

Related functions from the same R package

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