Election2005 {SLPresElection}R Documentation

Presidential Election 2005

Description

The fifth presidential election of Sri Lanka was held in 2005. Its results are published as a pdf file. The data available in this file is scraped and summarised as a data-frame Election2005.

Usage

data(Election2005)

Format

A data frame with 6 columns and 3494 rows.

Year

Year of the presidential election

District

District Names

Electorate

Electorate Names, Postal District Votes, Final District Results and Displaced District Votes

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

Details

There are 22 districts and 160 electorates in Sri Lanka. In 2005 thirteen candidates participated in this election and Mahinda Rajapaksha became the fourth executive president.

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

Examples

Election2005[Election2005$District == "Colombo" & Election2005$Electorate == "Colombo-North",]


[Package SLPresElection version 1.0.0 Index]