findDwnStrmSite_RKM: Find downstream site

View source: R/findDwnStrmSite_RKM.R

findDwnStrmSite_RKMR Documentation

Find downstream site

Description

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.

Usage

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(s)

Kevin See


KevinSee/PITcleanr documentation built on Feb. 27, 2024, 11:03 p.m.