partial_length()</a></code> to determine network distance between
indexes.</p>
<p>For waterbody indexes, the <code><a href="../reference/get_wb_outlet.html">get_wb_outlet()</a></code> function is
helpful too determine which flowline is the outlet of a waterbody.</p>
</div>
<div class="section level2">
<h2 id="flowline-indexing">Flowline Indexing<a class="anchor" aria-label="anchor" href="#flowline-indexing"></a>
</h2>
<p>First we’ll load up some data. In this case, we use flowlines from
the NHDPlus subset