mirror of
https://github.com/stupidcomputer/gas-demoman.git
synced 2025-01-28 16:08:03 -06:00
fix recognizing Unknown/Other gender
This commit is contained in:
parent
5fc3ec90c4
commit
c31fef00d3
4
Code.gs
4
Code.gs
@ -374,7 +374,7 @@ function create_final_report() {
|
||||
spreadsheet.getRange('A6').activate();
|
||||
spreadsheet.getCurrentCell().setValue('Female');
|
||||
spreadsheet.getRange('A7').activate();
|
||||
spreadsheet.getCurrentCell().setValue('Unknown');
|
||||
spreadsheet.getCurrentCell().setValue('Unknown/Other');
|
||||
spreadsheet.getRange('A9:B9').activate()
|
||||
.mergeAcross();
|
||||
spreadsheet.getActiveRangeList().setHorizontalAlignment('center');
|
||||
@ -420,7 +420,7 @@ function create_final_report() {
|
||||
get_total_of_attribute(data, "Female", "gender")
|
||||
)
|
||||
spreadsheet.getRange("B7").setValue(
|
||||
get_total_of_attribute(data, "Unknown", "gender")
|
||||
get_total_of_attribute(data, "Unknown/Other", "gender")
|
||||
)
|
||||
spreadsheet.getRange("B10").setValue(
|
||||
get_total_of_attribute(data, "Hispanic", "ethnicity")
|
||||
|
Loading…
Reference in New Issue
Block a user