For a given site, uses the configuration file to determine which site is encountered next moving downstream, using the report river kilometer (RKM) from the configuration file.

findDwnStrmSite_RKM(
  site,
  configurationFile,
  include.MMR.sites = F,
  rootSite = "GRA"
)

Arguments

site

character value of site code

configurationFile

data.frame with column called SiteID with site codes, a column called RKM with the river mask codes, and a column called SiteType with values of either INT for interrogation sites or MMR for mark/recapture/recovery sites

include.MMR.sites

TRUE/FALSE should MMR sites be included. Default is FALSE

rootSite

character value of the site code for the root site for which the path should be traced from

Author

Kevin See