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


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


ices-tools-prod/icesSD documentation built on March 21, 2022, 9:48 a.m.