read.nafoA: Read NAFO 21A database data stored in a .csv file

View source: R/read.nafoA.r

read.nafoAR Documentation

Read NAFO 21A database data stored in a .csv file

Description

Read NAFO 21A database data stored in a .csv file

Usage

read.nafoA(file, year = NULL, species = NULL)

Arguments

file

.csv file name to read.

year

Vector of years to read (ex: 2015:2020, c(2001, 2003:2018)). By default, the function will keep all years found in the file.

species

species name(s). Ex: "ATLANTIC COD - COD" for Atlantic cod.

Details

Read .csv file downloaded from from https://www.nafo.int/Data/STATLANT. Data is cleaned so that it is conform with other DFO data (ziff, carbio, length-frequencies).

See find.species to get the species names used in the database.


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