Learn R Programming

icesSAG (version 1.2-0)

getFishStockReferencePoints: Get Reference Points

Description

Get biological reference points for all stocks in a given assessment year.

Usage

getFishStockReferencePoints(key)

Arguments

key
the unique identifier of the stock assessment

Value

A data frame.

See Also

getSAG supports querying many years and quarters in one function call.

getListStocks and getSummaryTable get a list of stocks and summary results.

icesSAG-package gives an overview of the package.

Examples

Run this code
stocklist <- getListStocks(2016)
id <- grep("cod-2224", stocklist$FishStockName)
stocklist[id,]
key <- stocklist$key[id]
refpts <- getFishStockReferencePoints(key)
refpts

Run the code above in your browser using DataLab