PolitikMYPolitikMY

Negeri Sembilan DUN Elections (PRN): Ballots

Candidate-level results, party affiliations, and demographic details for every N9 state contest from 1959-present.

Constituency-Level1,079 rows20 columnsData as of 2023-08-12Updated 2025-12-30

Explore the data

Loading data…

Columns

NameTitleDescription
dateDate[Date] Date of polling day in YYYY-MM-DD format
electionElection[String] Election identifier, e.g. GE-15, SE-15, By-Election
stateState[String] Name of state where the contest took place
seatConstituency[String] Code (P.xxX or N.xxX) and name of the constituency
ballot_orderBallot Order[Integer] The candidate's position on the ballot paper
candidate_uidCandidate UID[String] Unique identifier for the candidate
name_on_ballotName On Ballot[String] Candidate's name as it appeared on the ballot paper
nameCandidate Name[String] Candidate's harmonised name
sexSex[String] Sex of candidate; 'M' for male, 'F' for female
ethnicityEthnicity[String] Ethnicity of candidate (e.g. 'Malay', 'Chinese', etc.)
ageAge[Integer] Age of candidate in years at time of election (-1 if missing)
party_on_ballotParty On Ballot[String] Short/abbreviated party name as it appeared on the ballot paper
party_uidParty UID[String] Unique party identifier (code)
partyParty[String] Full official party name
coalition_uidCoalition UID[Integer] Numeric identifier for the coalition (if any). 0 if no coalition
coalitionCoalition[String] Coalition name or 'ALONE' if not in a coalition
votesVotes[Integer] Number of votes received by the candidate
votes_percVote Percentage[Float] Percentage of valid votes received by the candidate
rankRank[Integer] Placing/rank of candidate in contest (1 = winner, 2 = second place, and so on)
resultResult[String] Short outcome: 'won', 'won_uncontested', 'lost', or 'lost_deposit'

Methodology

This dataset was compiled from official Parliament and DUN-level results published by the Election Commission of Malaysia (EC). The foundational data was extracted from Form 16 of the electoral returns, which are formally gazetted and published as subsidiary legislation. Although these records are available in digital form for modern elections (albeit just via a website rather than as machine-readable data), older election results were only available as unformatted PDF files or physical paper reports, thus requiring manual transcription. The resulting database covers all federal and state general elections since the first general election in 1955, as well as all by-elections since the first in 1957. A major challenge in tracking Malaysian electoral history is that politicians frequently change their names on the ballot, use different nicknames, or switch parties. To fix this, a unique ID system was built into this dataset. Every individual candidate, political party, and coalition was assigned a stable idenfitier, thus allowing a candidate's career to be tracked across decades, and electoral dynamics to be studied at both the coalition and component party level.