fix recognizing Unknown/Other gender

This commit is contained in:
stupidcomputer 2024-07-29 12:10:55 -05:00
parent 5fc3ec90c4
commit c31fef00d3
1 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ function create_final_report() {
spreadsheet.getRange('A6').activate(); spreadsheet.getRange('A6').activate();
spreadsheet.getCurrentCell().setValue('Female'); spreadsheet.getCurrentCell().setValue('Female');
spreadsheet.getRange('A7').activate(); spreadsheet.getRange('A7').activate();
spreadsheet.getCurrentCell().setValue('Unknown'); spreadsheet.getCurrentCell().setValue('Unknown/Other');
spreadsheet.getRange('A9:B9').activate() spreadsheet.getRange('A9:B9').activate()
.mergeAcross(); .mergeAcross();
spreadsheet.getActiveRangeList().setHorizontalAlignment('center'); spreadsheet.getActiveRangeList().setHorizontalAlignment('center');
@ -420,7 +420,7 @@ function create_final_report() {
get_total_of_attribute(data, "Female", "gender") get_total_of_attribute(data, "Female", "gender")
) )
spreadsheet.getRange("B7").setValue( spreadsheet.getRange("B7").setValue(
get_total_of_attribute(data, "Unknown", "gender") get_total_of_attribute(data, "Unknown/Other", "gender")
) )
spreadsheet.getRange("B10").setValue( spreadsheet.getRange("B10").setValue(
get_total_of_attribute(data, "Hispanic", "ethnicity") get_total_of_attribute(data, "Hispanic", "ethnicity")