Closed eblondel closed 6 months ago
Author: Alexandre Bennici @abennici Date of creation: 2021-12-03T13:49:00.164+0000 Last update: 2021-12-03T13:49:00.164+0000
Concerning the species groups, please have a look on this 2 lines you should add in your server part :
fish_group<-getRemoteReferenceDataset("asfis_enrished") fish_group<-subset(fish_group,select=c('3A_Code','ISSCAAP_Group_En'))
'3A_Code' correspnding to the 3 letters ASFIS code we have, 'ISSCAAP_Group_En' contain the species groups labels
A new tab will added 'Breakdown by species group'. For linecharts, this work should be based on CALR-23 (work of building generic functions by [~alexandre.bennici@fao.org] to facilitate the implementation of linecharts).
For the general piechart (breakdown of catches by species groups for all years), [~alexandre.bennici@fao.org] may provide guidance on how species groups are inherited. FYI these groups are inherited for the ASFIS species classification that is a third party source (it's not retrieved from the database).