Learn R Programming

icesSAG (version 1.4.1)

getFishStockReferencePoints: Get Reference Points

Description

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

Usage

getFishStockReferencePoints(assessmentKey, ...)

Value

A data frame.

Arguments

assessmentKey

the unique identifier of the stock assessment

...

to allow scope for back compatibility

Author

Colin Millar and Scott Large.

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
if (FALSE) {
assessmentKey <- findAssessmentKey("cod-2224", year = 2016)
refpts <- getFishStockReferencePoints(assessmentKey)
refpts

#To get all reference points in a given assessment year:
keys2016 <- findAssessmentKey(year = 2016)
refpts2016 <- getFishStockReferencePoints(keys2016)
refpts2016
}

Run the code above in your browser using DataLab