Data Access

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

download_nhdplushr()

Download NHDPlus HiRes

get_3dhp()

Get 3DHP Data

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_nhd()

Download NHD

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

get_characteristics_metadata()

Get catchment characteristics metadata table

get_catchment_characteristics()

Get Catchment Characteristics

rescale_catchment_characteristics()

Rescale Catchment Characteristics

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_huc()

Find WBD HUC unit subsets

get_nhdarea()

Find NHDPlusV2 Areas

get_waterbodies()

Find NHDPlusV2 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

reexports st_compatibalize rename_geometry get_node fix_flowdir rescale_measures get_hydro_location get_partial_length

Objects exported from other packages

get_waterbody_index()

Get Waterbody Index

get_wb_outlet()

Get Waterbody Outlet

get_nldi_index()

Get NLDI Index

disambiguate_flowline_indexes()

Disambiguate Flowline Indexes

get_path_lengths()

Get Path Lengths (DEPRECATED)

get_path_members()

Get Path Members (DEPRECATED)

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.

nhdplusTools_cache_settings()

nhdplusTools cache settings

reexports st_compatibalize rename_geometry get_node fix_flowdir rescale_measures get_hydro_location get_partial_length

Objects exported from other packages

align_nhdplus_names()

Align NHD Dataset Names

nhdplus_path()

NHDPlus Data Path

nhdplusTools_data_dir()

Get or set nhdplusTools data directory

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

rescale_catchment_characteristics()

Rescale Catchment Characteristics

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.

reexports st_compatibalize rename_geometry get_node fix_flowdir rescale_measures get_hydro_location get_partial_length

Objects exported from other packages

get_tocomid()

Get tocomid

make_node_topology()

get node topology from edge topology (DEPRECATED)

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 (DEPRECATED)

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 (DEPRECATED)