Learn R Programming

SLPresElection (version 1.0.0)

Election1994: Presidential Election 1994

Description

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

Usage

data(Election1994)

Arguments

Format

A data frame with 6 columns and 2040 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

Details

There are 22 districts and 160 electorates in Sri Lanka. In 1994 six candidates participated in this election and Chandrika Bandaranaike Kumarathunga became the third executive president.

Examples

Run this code
Election1994[Election1994$District == "Colombo" & Election1994$Electorate == "Colombo-North",]

Run the code above in your browser using DataLab