Get the rid values for the outlet segment(s) of an edge network created using lines_to_lsn

identify_outlet_segment(relationship_table, edges)

Arguments

relationship_table

File path to the relationships.csv file created lines_to_lsn.

edges

File path to shapefile of stream segments for the stream network, or this as an sf object.

Value

Numeric vector. RID value(s) for the outlet segment.