The seventh presidential election of Sri Lanka was held in 2015. Its results are published as a pdf file. The data available in this file is scraped and summarised as a data-frame Election2015.
Usage
data(Election2015)
Format
A data frame with 6 columns and 4692 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 2015 nineteen candidates participated in this election and Maithripala Sirisena became the fifth executive president.
Examples
Election2015[Election2015$District == "Colombo" & Election2015$Electorate == "Colombo-North",]
#> # A tibble: 23 × 6
#> Year District Electorate ColNames Votes Percentage
#> <dbl> <chr> <chr> <chr> <dbl> <dbl>
#> 1 2015 Colombo Colombo-North Aithurus Mohamed Illias 59 0.09
#> 2 2015 Colombo Colombo-North Ibrahim Miflar 90 0.13
#> 3 2015 Colombo Colombo-North Prasanna Priyankara 15 0.02
#> 4 2015 Colombo Colombo-North Wimal Geeganage 9 0.01
#> 5 2015 Colombo Colombo-North Sirithunga Jayasuriya 50 0.07
#> 6 2015 Colombo Colombo-North M. B. Theminimulla 17 0.02
#> 7 2015 Colombo Colombo-North Pani Wijesiriwardane 29 0.04
#> 8 2015 Colombo Colombo-North Duminda Nagamuwa 39 0.06
#> 9 2015 Colombo Colombo-North Panagoda Don Prince Soloman An… 101 0.15
#> 10 2015 Colombo Colombo-North Maithripala Sirisena 51537 75.1
#> # ℹ 13 more rows