From 0b8054d26009c7787a9b6b8e7395635d728fd0c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Jun 2024 15:57:50 -0300 Subject: [PATCH] corrections for mexico2024 data --- unificado.json | 3 ++- utils.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/unificado.json b/unificado.json index 12511fd..98011c9 100644 --- a/unificado.json +++ b/unificado.json @@ -70,7 +70,8 @@ "legislatorUpperBody": "senadurĂ­a de {state}", "regionalLegislator": "distrito local {area} {state}", "executiveCouncil": "{area}", - "headOfGovernment": "presidencia de {state}" + "headOfGovernment": "presidencia de {state}", + "deputyHeadOfGovernment": "presidencia de {state}" }, "ar": { "governmentOfficer": "gobernador/a de {state}", diff --git a/utils.py b/utils.py index 9174e10..59731e9 100644 --- a/utils.py +++ b/utils.py @@ -265,7 +265,7 @@ def get_contest_id(data, contest_chambers, country_location_template): if location != contest_chamber and not location in contest_chamber: print('data',data) print('location', location) - print('contest_chamber', contest_chambers) + # print('contest_chamber', contest_chambers) sys.exit() print("get_contest_id: " + "person_id: " + str(data["person_id"]) + " role_type: " + str(data["role_type"]) + " location: " + str(location) + " pais: " + str(data["country"]))