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)
character path ending in .gdb or .gpkg
boolean controls whether warning an status messages are printed
0 (invisibly) if set successfully, character path if no input.
nhdplus_path("/data/NHDPlusV21_National_Seamless.gdb")
nhdplus_path("/data/NHDPlusV21_National_Seamless.gdb", warn=FALSE)
nhdplus_path()
#> [1] "/data/NHDPlusV21_National_Seamless.gdb"