
How link's two access columns disagree, per species
Source:R/link_access_check.R
knw_link_access_check.RdIn a link default build, streams_habitat_<sp>.accessible and
streams_access.access_<sp> disagree (link#349; cause not established), and
rearing and spawning are set on segments streams_access blocks. The
evidence build gates on streams_access, and writes this cross-tabulation to
its ledger on every run so a change between link runs shows.
Usage
knw_link_access_check(conn, schema, species = knw_species(), by_group = FALSE)Arguments
- conn
a
DBIconnection to a database holdingschema.- schema
character(1)link persist schema.- species
characterspecies with a habitat table and an access column in the schema; a species lacking either is skipped and named inskipped.- by_group
logical(1): one row per watershed group as well, so two builds of the same groups (link's full and minimal networks, #120) can be set beside each other where their km differ.