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 levelpaths 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)


nhdplusTools documentation built on Dec. 7, 2022, 5:15 p.m.