Description Usage Arguments Value Note Examples
Identify the next downstream site for each site in a list of sites.
1 | list_all_nds(hierarchy, catchnames, candidates)
|
hierarchy |
a dataframe containing catchment id and next downstream (nextds) id fields |
catchnames |
a vector of catchment ids (sites) for which a a list of downstream catchments ids will be returned. |
candidates |
a vector of candidate catchment ids. Note this need not be a complete hierarchy |
a list of downstream catchment ids for each catchment in catchnames. Returns -1 where there is no downstream site
Function depends on the next downstream field in a stream network 'hierarchy' table (dataframe). Can be used to support further aggregation of environmental variables for sub-catchments downstream of a list of catchments of interest (e.g. for calculating barrier numbers).
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.