read.nafoB: Read NAFO 21B data

View source: R/read.nafoB.r

read.nafoBR Documentation

Read NAFO 21B data

Description

Read NAFO 21B data

Usage

read.nafoB(path, year = NULL, species = NULL, overwrite = FALSE)

Arguments

path

Path to which to download raw files.

year

Vector of years to read (all by default).

species

species name(s). Ex: 101 for Atlantic cod.

overwrite

If overwrite = FALSE (default) and downloaded data is already at specified path, the function will just read the local data. If overwrite = TRUE, the function will over-write data.

Details

Download data from https://www.nafo.int/Data/Catch-Statistics.

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.