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

Issue with step_07_01_create_aggregated_tables.r #19

Closed DSThayer closed 2 years ago

DSThayer commented 2 years ago

When creating aggregated tables, there is a pregnancy end type of "LB/SB" in list_of_type.

When trying to write the output CSV file, this type fails, because the / is interpreted as a subdirectory in the fwrite command.

DSThayer commented 2 years ago

The issue also exists in step 07 04.

I have added a kludge of altering those file names to make it work for now.

GiorgioLimoncella commented 2 years ago

thanks @DSThayer, I turned "LB/SB" in "LB_or_SB", it should no longer create errors