View source: R/findAssessmentKey.R
findAssessmentKey | R Documentation |
Find a lookup key corresponding to a stock in a given assessment year.
findAssessmentKey(
stock = NULL,
year = 0,
published = TRUE,
regex = TRUE,
full = FALSE
)
stock |
a stock name, e.g. cod-347d, or cod to find all cod stocks, or NULL (default) to process all stocks. |
year |
the assessment year, e.g. 2015, or 0 to process all years. |
published |
whether to include only years where status is "Published" (applies only when non-secure web services are in use, secure web service always returns unpublished stocks). |
regex |
whether to match the stock name as a regular expression. |
full |
whether to return a data frame with all stock list columns. |
A vector of keys (default) or a data frame if full is TRUE.
Arni Magnusson and Colin Millar.
getListStocks
gets a list of stocks.
icesSAG-package
gives an overview of the package.
## Not run:
findAssessmentKey("had.27.46a20", 2023, full = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.