insightsengineering / scda

Access Synthetic CDISC Data from Archive Packages
https://insightsengineering.github.io/scda/
Other
12 stars 4 forks source link

ADAE is having both NA and "" as ANL01FL #21

Closed yli110-stat697 closed 2 years ago

yli110-stat697 commented 3 years ago

Original post

While checking a TLGC Merge Request regarding AETxxx_SMQ, we found that the ADAE dataset from scda is having both NA and "" as missing value. See code to reproduce the issue below

adae <- synthetic_cdisc_data("latest")$adae
adae %>% select(ANL01FL) %>% unique()
Screen Shot 2021-09-13 at 1 10 18 PM

TODO

Definition of done

which(scda::synthetic_cdisc_data("latest")$adae$ANL01FL == "")

will return integer(0)

shajoezhu commented 2 years ago

Action

  1. in the random.cdisc.data, adae, Drop ""
  2. update scda.2022
  3. update scda