getSD: Get Stock List Data

View source: R/getSD.R

getSDR Documentation

Get Stock List Data

Description

Get stock list data such as stock code, expert group, assessment type, etc.

Usage

getSD(stock = NULL, year = NULL)

Arguments

stock

the stock code, e.g. cod.27.47d20.

year

the active year of the stock list, e.g. 2016, or NULL to get the most recent year available.

Value

A data frame.

icesSD-package gives an overview of the package.

Examples

## Not run: 
sddata <- getSD()
cod <- getSD(stock = "cod.27.47d20")
cod22 <- getSD(stock = "cod.27.47d20", year = 2022)
y2022 <- getSD(year = 2022)

## End(Not run)

ices-tools-prod/icesSLD documentation built on Oct. 27, 2024, 8:05 p.m.