checkSurveyOK: Check that a survey name is in the database

View source: R/checkInputs.R

checkSurveyOKR Documentation

Check that a survey name is in the database

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

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

## Not run: 
checkSurveyOK(survey = "ROCKALL")
checkSurveyOK(survey = "NOTALL")

## End(Not run)

icesDatras documentation built on May 31, 2023, 7:34 p.m.