Learn R Programming

icesSAG (version 1.2-0)

getSummaryTable: Get a Summary Table of Historical Stock Size

Description

Get summary results of historical stock size, recruitment, and fishing pressure.

Usage

getSummaryTable(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 getFishStockReferencePoints get a list of stocks and reference points.

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]
sumtab <- getSummaryTable(key)
head(sumtab)
attributes(sumtab)$notes

Run the code above in your browser using DataLab