read.lf: Reads length-frequency data from dockside monitoring.

View source: R/read.lf.r

read.lfR Documentation

Reads length-frequency data from dockside monitoring.

Description

Reads length-frequency data from dockside monitoring.

Usage

read.lf(file, year = NULL, 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).

Details

Reads length-frequency data from dockside monitoring. Follows structure of file S:/SAS/Peche/Infile_EntFrq.txt.


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