add new arbitrary fields

This commit is contained in:
stupidcomputer 2024-06-24 04:58:01 -05:00
parent 56b5e55419
commit b51151c0e2
1 changed files with 8 additions and 0 deletions

View File

@ -229,7 +229,15 @@ def generate_final_report_data(ws):
["", ""],
["Average Children per Site", ""],
[(total_girls + total_boys) / total_sites, ""],
["", ""],
["Percentages of Relevant Demographics", ""],
["Girls", str(total_girls / total_children * 100)[:5] + "%"],
["Hispanic", str(int(ethnicity_breakdown[0][1]) / total_children * 100)[:5] + "%"],
["People of Color", str(int(race_breakdown[3][1]) / total_children * 100)[:5] + "%"],
]
print(ethnicity_breakdown)
print("aslkdfjalsdkfjalsdkf")
print(race_breakdown[2])
for row in final_report_data_to_append:
ws.append(row)