Skip to contents

Thresholds

Configurable scoring defaults

lnk_thresholds()
Load configurable severity scoring thresholds

Database

Connection and utilities

lnk_db_conn()
Connect to FWA PostgreSQL database

Overrides

Load, validate, and apply correction data

lnk_override_apply()
Apply overrides to a crossings table
lnk_override_load()
Load override CSVs into a database table
lnk_override_validate()
Validate override referential integrity

Matching

Link crossing records across data systems

lnk_match_moti()
Match MOTI culverts to crossings
lnk_match_pscis()
Match PSCIS assessments to modelled crossings
lnk_match_sources()
Match crossing records across multiple data systems

Scoring

Severity classification and custom scoring

lnk_score_custom()
Apply user-defined scoring rules
lnk_score_severity()
Classify crossings by biological impact severity

Bridge

Produce fresh-compatible break source tables

lnk_break_source()
Produce a fresh-compatible break source list

Habitat

Per-crossing upstream habitat rollup

lnk_habitat_upstream()
Compute upstream habitat per crossing