getSD: Get Stock List Data

Description Usage Arguments Value Examples

View source: R/getSD.R

Description

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

Usage

1
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

1
2
3
4
sddata <- getSD()
cod <- getSD(stock = "cod.27.47d20")
cod22 <- getSD(stock = "cod.27.47d20", year = 2022)
y2022 <- getSD(year = 2022)

ices-tools-prod/icesSLD documentation built on Feb. 19, 2022, 8:24 a.m.