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

pregnancy_with_dates_out_of_range' not found amongst CONCEPTSETS, EUROCAT, PROMPT, ITEMSETS #88

Closed jordygaspersz closed 4 months ago

jordygaspersz commented 7 months ago

Hi @GiorgioLimoncella,

When running the to_run of the ConcePTIONAlgorithmPregnancies-release_5.2.3 we get an error: source(paste0(thisdir,"/p_steps_pregnancy/step_04_01_T2.2_process_pregnancies_excluded.R")) Error in .checkTypos(e, names_x) : Object 'pregnancy_with_dates_out_of_range' not found amongst CONCEPTSETS, EUROCAT, PROMPT, ITEMSETS

We ran this step line by line and the exact place of the error in in this line: groups_of_excluded_pregnancies <- groups_of_excluded_pregnancies[is.na(pregnancy_with_dates_out_of_range),pregnancy_with_dates_out_of_range:=0]

Could you please assist us?

Kind regards, Jordy Gaspersz, Thom Lysen and Jesse van den Berg (PHARMO)