The first presidential election of Sri Lanka was held in 1982. Its results are published as a pdf file. The data available in this file is scraped and summarised as a data-frame Election1982.
Usage
data(Election1982)
Format
A data frame with 6 columns and 2018 rows.
Year
Year of the presidential election
District
District Names
Electorate
Electorate Names, Postal District Votes and Final District Results
ColNames
Candidate Names, Total No of Valid Votes, No of Rejected Votes, Total No of Votes Polled and No of Registered Electors
Votes
No of votes for the ColNames variable
Percentage
Percentage of votes with regard to the No of Registered Electors and the Total No of Votes Polled for Total No of Votes Polled and all other ColNames variable, respectively
Source
Extracted from the pdf published by the Sri Lankan Elections commission at https://elections.gov.lk or the project that I have completed in scraping the data from the pdf file at : https://github.com/Amalan-ConStat/PresidentialElection.
Details
There are 22 districts and 160 electorates in Sri Lanka. In 1982 six candidates participated in this election and J.R. Jayawardene became the first executive president.
Examples
Election1982[Election1982$District == "Colombo" & Election1982$Electorate == "Colombo-North",]
#> # A tibble: 10 × 6
#> Year District Electorate ColNames Votes Percentage
#> <dbl> <chr> <chr> <chr> <dbl> <dbl>
#> 1 1982 Colombo Colombo-North Mr.J.R. Jayawardene 29380 69.0
#> 2 1982 Colombo Colombo-North Mr.H.S.R.B.K. Kobbekaduwa 10641 25
#> 3 1982 Colombo Colombo-North Mr. Rohana Wijeweera 1645 3.86
#> 4 1982 Colombo Colombo-North Mr.G.G. Ponnambalam 477 1.12
#> 5 1982 Colombo Colombo-North Dr. Colvin R. De Silva 361 0.85
#> 6 1982 Colombo Colombo-North Mr. Vasudeva Nanayakkara 60 0.14
#> 7 1982 Colombo Colombo-North Total No of Valid Votes 42564 98.7
#> 8 1982 Colombo Colombo-North No of Rejected Votes 575 1.33
#> 9 1982 Colombo Colombo-North Total No of Votes Polled 43139 75.0
#> 10 1982 Colombo Colombo-North No of Registered Electors 57534 NA