dsgelab / finregistry-data

FinRegistry data preprocessing scripts
3 stars 2 forks source link

minimal pheno: invalid birth dates #15

Closed essiviippola closed 1 year ago

essiviippola commented 1 year ago

Minimal phenotype contains 10 invalid birth dates. All are 29.2. for years that are not leap years.

path = "(path to minimal phenotype)"
df = fread(path, select = c("FINREGISTRYID", "date_of_birth"))
dates = dmy(birth_dat$date_of_birth)
# Warning message: 10 failed to parse.
df[is.na(dates)]
pecsimax commented 1 year ago

implemented in release https://github.com/dsgelab/finregistry-data/releases/tag/minimal_phenotype_2023-05-02