Closed LBeaulaton closed 4 weeks ago
In the following of code: https://github.com/ices-eg/wg_WGEEL/blob/d97cd59f06ece145280241e05f0cabf0586265a6/R/shiny_data_visualisation/shiny_dv/preco_diagram.R#L113 we write the Bbest is in millions while in the database it is in tons.
Solution would be to have a parameter in the function to fix the unit of Bbest, with a default to "tons" so that we allow to use millions when needed.
In the following of code: https://github.com/ices-eg/wg_WGEEL/blob/d97cd59f06ece145280241e05f0cabf0586265a6/R/shiny_data_visualisation/shiny_dv/preco_diagram.R#L113 we write the Bbest is in millions while in the database it is in tons.
Solution would be to have a parameter in the function to fix the unit of Bbest, with a default to "tons" so that we allow to use millions when needed.