diff --git a/analysis/report.py b/analysis/report.py index a23fffc..743d0c4 100644 --- a/analysis/report.py +++ b/analysis/report.py @@ -35,4 +35,5 @@ #Caulcate the prelavence prevelnce = adhd_dia_sex_table/adhd_total_sex_table -#Need to save the table \ No newline at end of file +#Need to save the table +prevelnce.to_csv('output/results_saved.csv') \ No newline at end of file diff --git a/project.yaml b/project.yaml index e35bb7a..c9ea3fe 100644 --- a/project.yaml +++ b/project.yaml @@ -16,5 +16,4 @@ actions: needs: [generate_dataset_full] outputs: moderately_sensitive: - chart1: output/adhd_events_per_year_by_sex.png - chart2: output/methylphenidate_prescriptions_per_year_by_sex.png \ No newline at end of file + table1: output/results_saved.csv \ No newline at end of file