un-fao / calipseo-shiny

Calipseo is FAO web- based platform for national Fisheries Authorities to streamline management of fisheries data and the production, analysis and reporting of fishery statistics.
1 stars 0 forks source link

[CALR-23] Factorize generic function(s) to display statistics as linechart with shinydashboardPlus #23

Closed eblondel closed 6 months ago

eblondel commented 6 months ago

Issue migrated from JIRA: https://sdlc.review.fao.org/jira/browse/CALR-23 Creator/Reporter: Emmanuel Blondel @eblondel Assignee: Alexandre Bennici @abennici Priority: Medium Status: Done Date of creation: 2021-11-25T11:00:51.000+0000

Here is what we talked. We should try to factorize the work you did in CALR-4. The idea is to reuse the same code logic / UI for whatever component for which we need to run the same type of computation.

You did already on 3 cases:

In a first step may be we could have this factorization done for species / species group as similar reporting should be done but in another context. You did it on all logbooks, we should do it by vessel (CALR-24), but may be extended to other contexts, by company, etc

In a second step, you may consider apply the same generic function to the case of vessel types (and move it to the 'species' application case). 

As first application, apply it to the logbooks overview you did. Next you should provide guidance to [~brian.ojok] for CALR-24 so he can implement it (first on species as extension of the work he did, next on species group)