ices-eg / wg_WGEEL

Joint EIFAAC/ICES/GFCM Working Group on Eels
http://ices.dk/community/groups/Pages/WGEEL.aspx
5 stars 12 forks source link

preco diagram - wrong legend #308

Closed LBeaulaton closed 4 weeks ago

LBeaulaton commented 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.