| checkSurveyYearOK | R Documentation | 
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)
survey | 
 the survey acronym, e.g. NS-IBTS.  | 
year | 
 the year of the survey, e.g. 2010.  | 
checksurvey | 
 logical, should the survey name also be checked.  | 
logical.
checkSurveyOK and checkSurveyYearQuarterOK
also perform checks against the DATRAS database.
icesDatras-package gives an overview of the package.
## Not run: 
checkSurveyYearOK(survey = "ROCKALL", 2015)
checkSurveyYearOK(survey = "ROCKALL", 2000)
checkSurveyYearOK(survey = "NOTALL", 2000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.