knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

fishbc

Lifecycle: stable R-CMD-check codecov License: CCBY4 CRAN status CRAN downloads

Introduction

fishbc is an R package that provides provides raw and curated data on the codes, classification and conservation status of freshwater fishes in British Columbia. Marine fishes will be added in a future release. It also include raw fish codes for BC Conservation Data Centre and the Government of Alberta.

It contains information licensed under the Open Government Licence – British Columbia and the Open Government Licence - Alberta

Installation

To install the latest release from CRAN

install.packages("fishbc")

To install the latest development version from GitHub

# install.packages("remotes")
remotes::install_github("poissonconsulting/fishbc")

Demonstration

Get the curated freshwater fish of BC fish codes.

library(tibble) # for tidy printing
fishbc::freshwaterfish

Get the common names for fish codes.

fishbc::fbc_common_name(c("AF", "WSG", NA, "AF", "NOTACODE"))

Contribution

Please report any issues.

Pull requests are always welcome.

Code of Conduct

Please note that the fishbc project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



poissonconsulting/fishbc documentation built on April 7, 2024, 6:50 p.m.