StockDownload: Get Source Data

View source: R/StockDownload.R

StockDownloadR Documentation

Get Source Data

Description

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

Usage

StockDownload(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.

StockList and getFishStockReferencePoints get a list of stocks and reference points.

icesSAG-package gives an overview of the package.

Examples

## Not run: 
assessmentKey <- findAssessmentKey("had.27.46a20", year = 2022)
sourcedat <- StockDownload(assessmentKey)
head(sourcedat)

## End(Not run)


ices-tools-prod/icesSAG documentation built on Nov. 24, 2023, 1:55 a.m.