nhdplus_path function

NHDPlus Data Path

NHDPlus Data Path

Allows specification of a custom path to a source dataset. Typically this will be the national seamless dataset in geodatabase or geopackage format.

nhdplus_path(path = NULL, warn = FALSE)

Arguments

  • path: character path ending in .gdb or .gpkg
  • warn: boolean controls whether warning an status messages are printed

Returns

0 (invisibly) if set successfully, character path if no input.

Examples

nhdplus_path("/data/NHDPlusV21_National_Seamless.gdb") nhdplus_path("/data/NHDPlusV21_National_Seamless.gdb", warn=FALSE) nhdplus_path()