obiba / opal

OBiBa’s core database application for biobanks or epidemiological studies.
http://www.obiba.org/pages/products/opal/
GNU General Public License v3.0
28 stars 22 forks source link

SPSS export from Opal does not include the missing values #3829

Open ymarcon opened 2 months ago

ymarcon commented 2 months ago

As an example of this issue, an export of table CTP/TTP_CoreQA_coreqx on https://opal-demo.obiba.org/ to SPSS shows the unexpected behaviour: several variables in the dictionary have a missing value, but they are not present in SPSS. See also the following figure.

282084608-53ae920b-19fc-43e7-917a-392f1b7d95ab

(reported by @bart-hoekstra)

ymarcon commented 2 months ago

The labels management implementation has changed several times in haven.

https://haven.tidyverse.org/articles/semantics.html