read.bio: Reads biological data

View source: R/read.bio.r

read.bioR Documentation

Reads biological data

Description

Reads biological data

Usage

read.bio(file, year = NULL, sp, language = "en", ...)

Arguments

file

.dat file to read. This file is the output of this SAS program: S:/SAS/Peche/autoexec_peche.sas.

year

Vector of years to read (ex: 2015:2020). NULL by default, meaning the function will keep data from all available years.

language

Language to use for column names, either "en" (default) or "fr".

...

Optional arguments used with readr::read_fwf() (e.g., progress, skip_empty_rows, n_max).

species

Either "cod" or "mackerel".

Details

Read biological data from dockside monitoring. Currently only mackerel and Atlantic cod are supported (To add a species: fill in data_raw/bio_key.csv)


iml-assess/catchR documentation built on Nov. 27, 2022, 7:35 p.m.