Learn R Programming

icesDatras (version 1.4.1)

checkSurveyOK: 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)

Value

logical.

Arguments

survey

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

See Also

checkSurveyYearOK and getSurveyYearQuarterList also perform checks against the DATRAS database.

icesDatras-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
checkSurveyOK(survey = "ROCKALL")
checkSurveyOK(survey = "NOTALL")
}

Run the code above in your browser using DataLab