Skip to content

Commit

Permalink
updated parties.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
desafinadude committed Jun 13, 2024
1 parent 84b112e commit 0e2b950
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
54 changes: 54 additions & 0 deletions pombola/south_africa/data/elections/2024/parties.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
slug,name,name_in_candidates_file
free-dems,Free Democrats (FREE DEMS),FREE DEMOCRATS
cope,Congress of the People (COPE),CONGRESS OF THE PEOPLE
ff,"Freedom Front + (Vryheidsfront Plus, FF+)",VRYHEIDSFRONT PLUS
acdp,African Christian Democratic Party (ACDP),AFRICAN CHRISTIAN DEMOCRATIC PARTY
da,Democratic Alliance (DA),DEMOCRATIC ALLIANCE
ifp,Inkatha Freedom Party (IFP),INKATHA FREEDOM PARTY
nfp,National Freedom Party (NFP),NATIONAL FREEDOM PARTY
atm,African Transformation Movement (ATM),AFRICAN TRANSFORMATION MOVEMENT
apc,African People's Convention (APC),AFRICAN PEOPLE'S CONVENTION
eff,Economic Freedom Fighters (EFF),ECONOMIC FREEDOM FIGHTERS
good,Good,GOOD
dlc,Democratic Liberal Congress (DLC),DEMOCRATIC LIBERAL CONGRESS
acm,African Content Movement (ACM),AFRICAN CONTENT MOVEMENT
aic,African Independent Congress (AIC),AFRICAN INDEPENDENT CONGRESS
pac,Pan Africanist Congress of Azania (PAC),PAN AFRICANIST CONGRESS OF AZANIA
udm,United Democratic Movement (UDM),UNITED DEMOCRATIC MOVEMENT
azapo,Azanian People's Organisation (AZAPO),AZANIAN PEOPLE'S ORGANISATION
al-jama-ah,Al Jama-Ah,AL JAMA-AH
pa,Patriotic Alliance (PA),PATRIOTIC ALLIANCE
anc,African National Congress (ANC),AFRICAN NATIONAL CONGRESS
f4sd,Forum for Service Delivery (F4SD),FORUM 4 SERVICE DELIVERY
slug,name,name_in_candidates_file
hope4sa,#Hope4SA,#HOPE4SA
abc,Abantu Batho Congress,ABANTU BATHO CONGRESS
al,Able Leadership,ABLE LEADERSHIP
aadp,Action Alliance Development Party,ACTION ALLIANCE DEVELOPMENT PARTY
actionsa,ActionSA,ACTIONSA
aar,Africa Africans Reclaim,AFRICA AFRICANS RECLAIM
ara,Africa Restoration Alliance,AFRICA RESTORATION ALLIANCE
act,African Congress for Transformation,AFRICAN CONGRESS FOR TRANSFORMATION
ahc,African Heart Congress,AFRICAN HEART CONGRESS
amc,African Movement Congress,AFRICAN MOVEMENT CONGRESS
apemo,African People's Movement,AFRICAN PEOPLE'S MOVEMENT
acp,All Citizens Party,ALL CITIZENS PARTY
acc,Alliance of Citizens for Change,ALLIANCE OF CITIZENS FOR CHANGE
am4c,Allied Movement for Change,ALLIED MOVEMENT FOR CHANGE
bosa,Build One South Africa with Mmusi Maimane,BUILD ONE SOUTH AFRICA WITH MMUSI MAIMANE
citizans,Citizans,CITIZANS
ciasa,Conservatives in Action,CONSERVATIVES IN ACTION
elf-sa,Economic Liberators Forum South Africa,ECONOMIC LIBERATORS FORUM SOUTH AFRICA
ccc,National Coloured Congress,NATIONAL COLOURED CONGRESS
nccm,Northern Cape Communities Movement,NORTHERN CAPE COMMUNITIES MOVEMENT
ohm,Organic Humanity Movement,ORGANIC HUMANITY MOVEMENT
pmc,People's Movement for Change,PEOPLE'S MOVEMENT FOR CHANGE
rp,Referendum Party,REFERENDUM PARTY
rise,Rise Mzansi,RISE MZANSI
sun,Sizwe Ummah Nation,SIZWE UMMAH NATION
sara,South African Rainbow Alliance,SOUTH AFRICAN RAINBOW ALLIANCE
sarko,South African Royal Kingdoms Organization,SOUTH AFRICAN ROYAL KINGDOMS ORGANIZATION
mk,Umkhonto Wesizwe,UMKHONTO WESIZWE
uat,United Africans Transformation,UNITED AFRICANS TRANSFORMATION
uim,United Independent Movement,UNITED INDEPENDENT MOVEMENT
xiluva,Xiluva,XILUVA
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Imports ZA provincial and national election candidates using the 2019
Imports ZA provincial and national election candidates using the 2024
IEC spreadsheet format.
"""

Expand Down Expand Up @@ -46,7 +46,7 @@
csv = unicodecsv.DictReader(csvfile)
[candidates.append(row) for row in csv]

parties_csv = "pombola/south_africa/data/elections/2024/new_parties.csv"
parties_csv = "pombola/south_africa/data/elections/2024/parties.csv"
party_mapping = {}
with open(parties_csv, "rb") as csvfile:
csv = unicodecsv.DictReader(csvfile)
Expand Down

0 comments on commit 0e2b950

Please sign in to comment.