getHHdata: Get Haul Data

View source: R/getHHdata.R

getHHdataR Documentation

Get Haul Data

Description

Get haul data such as position, depth, sampling method, etc.

Usage

getHHdata(survey, year, quarter)

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.

Value

A data frame.

Author(s)

Colin Millar.

See Also

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

getHLdata and getCAdata get length-based data and age-based data.

icesDatras-package gives an overview of the package.

Examples

## Not run: 
hhdata <- getHHdata(survey = "ROCKALL", year = 2002, quarter = 3)
str(hhdata)

# error checking examples:
hhdata <- getHHdata(survey = "NS_IBTS", year = 2016, quarter = 1)
hhdata <- getHHdata(survey = "NS-IBTS", year = 2030, quarter = 1)
hhdata <- getHHdata(survey = "NS-IBTS", year = 2016, quarter = 6)

## End(Not run)

ices-tools-prod/icesDatras documentation built on March 27, 2024, 11:29 p.m.