checkSurveyOK: Check that a survey name is in the database

Description Usage Arguments Value See Also Examples

View source: R/checkInputs.R

Description

Checks a survey name against a list of all survey names in the DATRAS database. If the name is not matched it puts up a message showing the available survey names.

Usage

1
checkSurveyOK(survey)

Arguments

survey

the survey acronym, e.g. NS-IBTS.

Value

logical.

See Also

checkSurveyYearOK and getSurveyYearQuarterList also perform checks against the DATRAS database.

icesDatras-package gives an overview of the package.

Examples

1
2
checkSurveyOK(survey = "ROCKALL")
checkSurveyOK(survey = "NOTALL")

icesDatras documentation built on May 29, 2017, 11:54 a.m.