R package for calculating survey indices by age from DATRAS exchange data
To install you need the DATRAS package
remotes::install_github("DTUAqua/DATRAS/DATRAS")
remotes::install_github("casperwberg/surveyIndex/surveyIndex")
see example for the function getSurveyIdx (write ?getSurveyIdx in R)