Last chance! 50% off unlimited learning
Sale ends in
Checks a year and/or survey name against a list of all survey year combinations in the DATRAS database. If the combination is not matched it puts up a message showing the available options.
checkSurveyYearOK(survey, year, checksurvey = TRUE)
logical.
the survey acronym, e.g. NS-IBTS.
the year of the survey, e.g. 2010.
logical, should the survey name also be checked.
checkSurveyOK
and checkSurveyYearQuarterOK
also perform checks against the DATRAS database.
icesDatras-package
gives an overview of the package.
if (FALSE) {
checkSurveyYearOK(survey = "ROCKALL", 2015)
checkSurveyYearOK(survey = "ROCKALL", 2000)
checkSurveyYearOK(survey = "NOTALL", 2000)
}
Run the code above in your browser using DataLab