getIndices | R Documentation |
Get age based indices of abundance by species, survey and year.
getIndices(survey, year, quarter, species)
survey |
the survey acronym, e.g. NS-IBTS. |
year |
the year of the survey, e.g. 2010. |
quarter |
the quarter of the year the survey took place, i.e. 1, 2, 3 or 4. |
species |
the aphia species code for the species of interest. |
A data frame.
The icesAdvice package provides findAphia
, a function to look up Aphia species codes.
getDATRAS
supports querying many years and quarters in one function call.
getHHdata
and getCAdata
get haul data and
age-based data.
icesDatras-package
gives an overview of the package.
## Not run:
haddock_aphia <- icesVocab::findAphia("haddock")
index <- getIndices(survey = "NS-IBTS", year = 2002, quarter = 3, species = haddock_aphia)
str(index)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.