getFlexFile: Get Flex File

View source: R/getFlexFile.R

getFlexFileR Documentation

Get Flex File

Description

Get all information in HH plus estimates of Door Spread, Wing Spread and Swept Area per square km. Only available for NS-IBTS survey.

Usage

getFlexFile(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)

Adriana Villamor.

See Also

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

getHHdata get haul data

icesDatras-package gives an overview of the package.

Examples

## Not run: 
flex <- getFlexFile(survey = "NS-IBTS", year = 2020, quarter = 1)
str(flex)

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

## End(Not run)

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