| Election2005 | R Documentation |
Results of the Sri Lankan presidential election held in 2005, extracted from PDF result tables and prepared as Election2005.
data(Election2005)
A data frame with 6 columns.
Year of the presidential election.
Electoral district name.
Polling-division name, Postal District Votes, Displaced District Votes, or Final District Results.
Candidate name or summary label: Total No of Valid Votes, No of Rejected Votes, Total No of Votes Polled, or No of Registered Electors.
Candidate vote count or the count associated with a summary label. Registered-elector rows contain elector counts rather than votes.
Reported or calculated percentage on a 0–100 scale. The denominator depends on the row type and reporting table. Missing values indicate percentages that were not supplied or calculated.
Thirteen candidates contested this election.
Percentages were calculated for district totals, postal votes, and displaced votes in Jaffna, Vanni, and Trincomalee. Registered-elector rows were removed from postal and displaced-vote tables.
The preparation functions used total polled votes as the denominator for candidate, valid-vote, and rejected-vote percentages in these tables. District turnout was calculated using registered electors. Candidate percentages in these tables therefore represent shares of polled votes rather than shares of valid votes.
District totals and their component results are both included. These reporting levels should be analysed separately to avoid double-counting.
Election Commission of Sri Lanka: https://elections.gov.lk/en/elections/results_pre_E.html.
Data extraction and preparation: https://github.com/Amalan-ConStat/PresidentialElection.
data(Election2005)
Election2005[Election2005$District == "Colombo" & Election2005$Electorate == "Colombo-North", ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.