Data Access

Functions that help get access data. (all U.S. context)

download_nhdplushr()

Download NHDPlus HiRes

get_nhdplus()

Get National Hydrography Dataset V2 Subsets (Multirealization)

get_nhdplushr()

Get NHDPlus HiRes

get_hr_data()

Get NHDPlus HiRes Data

download_nhdplusv2()

Download seamless National Hydrography Dataset Version 2 (NHDPlusV2)

download_rf1()

Download the seamless Reach File (RF1) Database

download_wbd()

Download the seamless Watershed Boundary Dataset (WBD)

download_vaa()

Download nhdplusVAA data from HydroShare

get_vaa()

NHDPlusV2 Attribute Subset

get_xs_point()

Get Cross Section From Point (experimental)

get_xs_points()

Get Cross Section Endpoints (experimental)

get_elev_along_path()

Get Elevation Along Path (experimental)

rpu_boundaries

RPU Boundaries Raster Processing Unit boundaries

vpu_boundaries

VPU Boundaries Vector Processing Unit boundaries

get_boundaries()

Return RPU or VPU boundaries

Discovery and Subsetting

Functions for finding and saving the part of the NHDPlus you are interested in working with. (All U.S. context)

subset_nhdplus()

Subset NHDPlus

make_standalone()

Make isolated NHDPlusHR region a standalone dataset

subset_rpu()

Subset by Raster Processing Unit

subset_vpu()

Subset by Vector Processing Unit

discover_nhdplus_id()

Discover NHDPlus ID

get_nhdplus()

Get National Hydrography Dataset V2 Subsets (Multirealization)

get_gagesII()

Find GAGESII Features

get_huc12()

Find WBD HUC 12 unit subsets

get_huc8()

Find WBD HUC 08 unit subsets

get_nhdarea()

Find NHD Areas

get_waterbodies()

Find NHD Water Bodies

get_nwis()

Discover USGS NWIS Stream Gages

discover_nldi_characteristics()

Discover Characteristics Metadata

get_nldi_characteristics()

Get Catchment Characteristics

get_nldi_basin()

Get NLDI Basin Boundary

get_nldi_feature()

Get NLDI Feature

get_split_catchment()

Get split catchment

get_raindrop_trace()

Get Raindrop Trace

Indexing and Network Navigation

Functions to index and match data to NHDPlus features. Most of these work with any data that fits the expected data model. Some are very specific to the NHDPlus data model but are not specific to a U.S spatial context.

get_flowline_index()

Get Flowline Index

get_hydro_location()

Get Hydro Location

get_waterbody_index()

Get Waterbody Index

get_wb_outlet()

Get Waterbody Outlet

get_nldi_index()

Get NLDI Index

get_node()

Get Flowline Node

rescale_measures()

Rescale reachcode measure to comid flowline measure

disambiguate_flowline_indexes()

Disambiguate Flowline Indexes

get_partial_length()

Get Partial Flowline Length

get_path_lengths()

Get Path Lengths

get_path_members()

Get Path Members

Network Navigation

Functions to traverse and return network subsets. All except navigate_nldi() have applicability outside the U.S. context.

get_DD()

Navigate Downstream with Diversions

get_DM()

Navigate Downstream Mainstem

get_UM()

Navigate Upstream Mainstem

get_UT()

Navigate Upstream with Tributaries

navigate_network()

Navigate Network

navigate_nldi()

Navigate NLDI

Package Helpers

Functions that make the package easier to work with.

st_compatibalize()

make spatial inputs compatible

rename_geometry()

rename_geometry

align_nhdplus_names()

Align NHD Dataset Names

nhdplus_path()

NHDPlus Data Path

nhdplusTools_data_dir()

Get or set nhdplusTools data directory

stage_national_data()

Stage NHDPlus National Data (deprecated)

plot_nhdplus()

Plot NHDPlus

map_nhdplus()

Make Interactive Map of NHDPlus

prepare_nhdplus()

Prep NHDPlus Data

get_vaa_names()

Available NHDPlusV2 Attributes

get_vaa_path()

File path to value added attribute (vaa) Cache

Network Attributes

Functions that generate common river network attributes. These can be used with any data that adheres to the supported data model. See function documentation for specifics.

fix_flowdir()

Fix flow direction

get_tocomid()

Get tocomid

get_sorted()

Get Sorted Network

calculate_total_drainage_area()

Total Drainage Area

calculate_arbolate_sum()

Calculate Arbolate Sum

get_streamlevel()

Get Streamlevel

get_levelpaths()

Get Level Paths

get_pathlength()

Get Path Length

get_streamorder()

Get Streamorder

get_terminal()

Get Terminal ID (DEPRECATED)

add_plus_network_attributes()

Add NHDPlus Network Attributes to a provided network.

get_pfaf()

Get Pfafstetter Codes (Experimental)