| Election2019 | R Documentation |
Results of the Sri Lankan presidential election held in 2019, extracted from PDF result tables using OCR and prepared as Election2019.
data(Election2019)
A data frame with 6 columns.
Year of the presidential election.
Electoral district name, aligned with the naming convention used in the earlier datasets.
Polling-division name, Postal 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.
Printed percentage on a 0–100 scale. Percentage proportions imported from ODS files were multiplied by 100 and rounded to two decimal places. Missing values indicate percentages that were not supplied.
Thirty-five candidates contested this election.
Extracted results were assembled in ODS workbooks before conversion to the common six-column dataset format. Summary labels and selected district and electorate spellings were aligned with the earlier datasets. Label capitalisation was preserved.
The omitted Kilinochchi result table in the Jaffna PDF was supplemented. Four misplaced result tables were replaced: Colombo postal votes, Borella in Colombo, Kegalle postal votes, and Kolonna in Ratnapura.
Printed registered-elector discrepancies were retained and documented. Component totals exceeded district totals by 200 in Hambantota, 270 in Jaffna, 1 in Kalutara, and 1 in Ratnapura. These discrepancies concern registered electors rather than votes cast.
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(Election2019)
Election2019[Election2019$District == "Colombo" & Election2019$Electorate == "Colombo-North", ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.