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

Value

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()
#> [1] "/data/NHDPlusV21_National_Seamless.gdb"