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

How to propagate NR or NP to aggregation levels .... #61

Closed cedricbriandgithub closed 2 years ago

cedricbriandgithub commented 5 years ago

IF a NP is provided at an emu level, it is ignored when summing per country as otherwise we would end up only with NA value.

LBeaulaton commented 5 years ago

see datavisualisation / global.R we put a TODO with the solution (use na.rm option of group_data function)

ClarisseBoulenger commented 5 years ago

I try something with a subset to delete NA just after the filtered data (to delete the NA produce when NP or NR in the database) in rendertable it seems to work but it's not a clean code Ihave to look further to be sure

cedricbriandgithub commented 4 years ago

check if fixed with new datacall