get_pathlength: Get Path Length

View source: R/get_paths.R

get_pathlengthR Documentation

Get Path Length

Description

Generates the main path length to a basin's terminal path.

Usage

get_pathlength(x)

Arguments

x

data.frame with ID, toID, length columns.

Value

data.frame containing pathlength for each ID

Examples

source(system.file("extdata", "walker_data.R", package = "nhdplusTools"))

fl <- dplyr::select(prepare_nhdplus(walker_flowline, 0, 0),
                    ID = COMID, toID = toCOMID, length = LENGTHKM)

get_pathlength(fl)


dblodgett-usgs/nhdplusTools documentation built on March 26, 2024, 12:12 p.m.