character vector containing one or more of:
"attributes", "flowline", "catchment".
output_path
character path to save the output to defaults
to the directory of the nhdplus_data.
nhdplus_data
character path to the .gpkg or .gdb
containing the national seamless dataset. Not required if
nhdplus_path has been set.
simplified
boolean if TRUE (the default) the CatchmentSP layer
will be included.
Details
"attributes" will save `NHDFlowline_Network` attributes
as a separate data.frame without the geometry. The others will save
the `NHDFlowline_Network` and `Catchment` or `CatchmentSP`
(per the `simplified` parameter) as sf data.frames with
superfluous Z information dropped.
The returned list of paths is also added to the nhdplusTools_env
as "national_data".