Learn R Programming

icesDatras (version 1.4.1)

getCAdata: Get Age-Based Data

Description

Get age-based data such as sex, maturity, and age counts per length of sampled species.

Usage

getCAdata(survey, year, quarter)

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.

Author

Colin Millar.

See Also

getDATRAS supports querying many years and quarters in one function call.

getHHdata and getHLdata get haul data and length-based data.

icesDatras-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
cadata <- getCAdata(survey = "ROCKALL", year = 2002, quarter = 3)
str(cadata)
}

Run the code above in your browser using DataLab