Skip to content

Commit

Permalink
Canonicalise some party names
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan Parkes committed Jun 16, 2015
1 parent b45d5e0 commit 6c41e30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scraper.py
Expand Up @@ -93,6 +93,13 @@
except:
print repr(u"No party for {} in {}".format(member['name'], member['term_id']))

if member['party'] == u"UNAM (Union Nationale pour l'Avenir de Monaco), UpM (Union pour Monaco)":
member['party'] = u"UNAM Union Nationale pour l'Avenir de Monaco UpM (Union pour Monaco)"

if member['party'] == u"UP Union pour la PrincipautéUpM (Union pour Monaco)":
member['party'] = u"UP Union pour la Principauté UpM (Union pour Monaco)"


data.append(member)


Expand Down

0 comments on commit 6c41e30

Please sign in to comment.