/fpr

Fish Passage Reporting functions for British Columbia

Primary LanguageROtherNOASSERTION

Fish Passage Reporting

And much more... Package used to clean data, QA, and for building interactive reports usually related to fish passage planning, implementation and monitoring.


Currently under active development. You will want to disect each function to understand things like the folder structure of the repo used to build the actual report. Use at your own risk and consider keeping track of which version of the package you are using through the date formatted tags.


Install with pak::pkg_install("NewGraphEnvironment/fpr")


If looking for backwards comparability because you used the package in the past and there are issues now with a newer release of the package, install with:

pak::pkg_install("NewGraphEnvironment/fpr@v1.1.0") (tag coinciding with the one you used to report)


The reporting that this package serves to help line up is generated with bookdown from Rmarkdown so there are many dependencies such as knitr and KableExtra. Additionally, of key importance workflows rely on provincial British Columbia data input spreadsheets with version updates. As of 2022-04-13 the provincial templates included:


Additionally many outputs manipulated by these functions rely on a tables generated from a postgresql database built with bcfishpass. Some tables are unstable with column names likely to change in the future.


Custom inputs include:

  • Custom CSV file example here detailing Phase 2 site:

    • priority level for proceeding to design for replacement
    • length of survey upstream and downstream
    • a conservative estimate of the linear length of mainstem habitat potentially available upstream of the crossing
    • fish species confirmed as present upstream of the crossing following assessments.
  • Photos within structured folders and naming conventions as per the Provincial Stream Crossing Information System and project specific protocols example here