ARS-toscana / ConcePTIONAlgorithmPregnancies

Repository of the script of the ConcePTION Algorithm for Pregnancies
GNU Affero General Public License v3.0
5 stars 3 forks source link

Aarhus(DANREG) : Error in step_04_02_T2.2_create_flowchart.R #82

Closed kimimia closed 9 months ago

kimimia commented 11 months ago

We got this error below: Error in dcast.data.table(D3_all_stream_person_id, person_id ~ criteria, can not cast an empty data.table In addition: Warning message: In min(exclusion) : no non-missing arguments to min; return Inf

I can see that table D3_all_stream is not empty, but D3_all_stream_person_id/_single_criteria/tmp are empty.

Please let me know if you need further information from us to solve this issue.

GiorgioLimoncella commented 11 months ago

This step tries to create a flowchart for the years 2015-2019 and 2019-2021. Is it possible that there is no data between 2019 and 2021?

kimimia commented 11 months ago

The data in our birht-registry start from 01JAN2021.

GiorgioLimoncella commented 11 months ago

@kimimia @GiorgioLimoncella

GiorgioLimoncella commented 9 months ago

Hi @kimimia,

The error should be fixed in version 5.2.1. You can find the release at this link:

https://github.com/ARS-toscana/ConcePTIONAlgorithmPregnancies/releases