reconcile_collapsed_flowlines: Reconcile Collapsed Flowlines

View source: R/reconcile.R

reconcile_collapsed_flowlinesR Documentation

Reconcile Collapsed Flowlines

Description

Reconciles output of collapse_flowlines giving a unique ID to each new flowpath and providing a mapping to NHDPlus COMIDs.

Usage

reconcile_collapsed_flowlines(flines, geom = NULL, id = "COMID")

Arguments

flines

data.frame with COMID, toCOMID, LENGTHKM, LevelPathI, Hydroseq, and TotDASqKM columns

geom

sf data.frame for flines

id

character id collumn name.

Value

reconciled flowpaths with new ID, toID, LevelPathID, and Hydroseq identifiers. Note that all the identifiers are new integer IDs. LevelPathID and Hydroseq are consistent with the LevelPathID and Hydroseq from the input NHDPlus flowlines.

See Also

The refactor_nhdplus function implements a complete workflow using 'reconcile_collapsed_flowlines()'.


dblodgett-usgs/hyRefactor documentation built on Oct. 14, 2024, 12:59 p.m.