Learn R Programming

icesSAG (version 1.4.1)

getStockSourceData: Get Source Data

Description

Get a copy of the source data for the specified stocks.

Usage

getStockDownloadData(assessmentKey, ...)

getStockSourceData(assessmentKey, ...)

Value

A data frame.

Arguments

assessmentKey

the unique identifier of the stock assessment

...

to allow scope for back compatibility

Author

Colin Millar.

See Also

getSAG supports querying many years 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
if (FALSE) {
assessmentKey <- findAssessmentKey("cod-2224", year = 2016)
sourcedat <- getStockDownloadData(assessmentKey)
head(sourcedat[[1]])
}

Run the code above in your browser using DataLab