Skip to content

Commit

Permalink
fix(data): departments 2023-2025 (#138)
Browse files Browse the repository at this point in the history
* fix: seggi and total in election results parser

* fix(data): departments 2023-2025
  • Loading branch information
Gigi-G committed Nov 4, 2023
1 parent 64ce08b commit f13a586
Show file tree
Hide file tree
Showing 18 changed files with 9,517 additions and 9,517 deletions.
10 changes: 5 additions & 5 deletions jsonParser/semi-automatic/parse_election_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ def get_list_information(rows_list: list, data: dict) -> list:
lista = {
"nome": str(row[0].strip()),
"seggi": {
"seggi_pieni": str(row[1].strip()),
"resti": str(row[2].strip()),
"seggi_ai_resti": str(row[3].strip()),
"seggi_totali": str(row[4].strip())
"seggi_pieni": str(row[2].strip()),
"resti": str(row[3].strip()),
"seggi_ai_resti": str(row[4].strip()),
"seggi_totali": str(row[5].strip())
},
"voti": {
"totali": str(row[5].strip()),
"totali": str(row[1].strip()),
"seggio_telematico": str(row[-1].strip())
}
}
Expand Down
Loading

0 comments on commit f13a586

Please sign in to comment.