get_pathlength: Get path length

Description Usage Arguments Value Examples

View source: R/get_paths.R

Description

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

Usage

1

Arguments

x

data.frame with ID, toID, length columns.

Value

data.frame containing levelpaths for each ID

Examples

1
2
3
4
5
6
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 Aug. 18, 2021, 5:07 p.m.