getStockDownloadData: Get Source Data

View source: R/getStockDownloadData.R

getStockSourceDataR Documentation

Get Source Data

Description

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

Usage

getStockDownloadData(assessmentKey, ...)

Arguments

assessmentKey

the unique identifier of the stock assessment, can be a vector

...

arguments passed to ices_get.

Value

A data frame.

Author(s)

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

## Not run: 
assessmentKey <- findAssessmentKey("cod-2224", year = 2016)
sourcedat <- getStockDownloadData(assessmentKey)
head(sourcedat[[1]])

## End(Not run)


icesSAG documentation built on Oct. 30, 2024, 9:14 a.m.