Learn R Programming

icesDatras (version 1.4.1)

getIndices: Get Survey Indices

Description

Get age based indices of abundance by species, survey and year.

Usage

getIndices(survey, year, quarter, species)

Value

A data frame.

Arguments

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.

See Also

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.

Examples

Run this code
if (FALSE) {
haddock_aphia <- icesVocab::findAphia("haddock")
index <- getIndices(survey = "NS-IBTS", year = 2002, quarter = 3, species = haddock_aphia)
str(index)
}

Run the code above in your browser using DataLab