Package: SLPresElection 1.1.0

SLPresElection: Presidential Election Data of "Sri Lanka" from 1982 to 2019

Provides Sri Lankan presidential election results for 1982, 1988, 1994, 1999, 2005, 2010, 2015, and 2019. The datasets contain candidate vote counts, reported percentages, and summary statistics for polling divisions and district results, including postal and displaced votes where available. Results were extracted from PDF documents and prepared in a consistent tabular format.

Authors:Amalan Mahendran [aut, cre]

SLPresElection_1.1.0.tar.gz
SLPresElection_1.1.0.zip(r-4.7-any)SLPresElection_1.1.0.zip(r-4.6-any)SLPresElection_1.1.0.zip(r-4.5-any)
SLPresElection_1.1.0.tgz(r-4.6-any)SLPresElection_1.1.0.tgz(r-4.5-any)
SLPresElection_1.1.0.tar.gz(r-4.7-any)SLPresElection_1.1.0.tar.gz(r-4.6-any)
SLPresElection_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
SLPresElection/json (API)

# Install 'SLPresElection' in R:
install.packages('SLPresElection', repos = c('https://amalan-constat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/amalan-constat/slpreselection/issues

Datasets:

On CRAN:

Conda:

presidential-electionsri-lanka

4.60 score 1 stars 6 scripts 229 downloads 0 exports 0 dependencies

Last updated from:a4170dd475. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK110
source / vignettesOK203
linux-releaseOK104
macos-releaseOK92
macos-oldrelOK84
windows-develOK78
windows-releaseOK62
windows-oldrelOK60
wasm-releaseOK96

Exports:

Dependencies:

1982 Presidential Election: Data Preparation
Preparation scope | Postal registered-elector rows | Walapane and Nuwara-Eliya vote totals | Teldeniya and Mahanuwara registered electors | Remaining missing vote counts | Checks and documentation limits

Last update: 2026-10-14
Started: 2026-10-14

1988 Presidential Election: Data Preparation
Preparation scope | Postal registered-elector rows | Selected percentage calculations | Missing vote counts and associated percentages | Checks and documentation limits

Last update: 2026-10-14
Started: 2026-10-14

1994 Presidential Election: Data Preparation
Preparation scope | Missing vote counts

Last update: 2026-10-14
Started: 2026-10-14

1999 Presidential Election: Data Preparation
Preparation scope | Unavailable postal registered-elector counts

Last update: 2026-10-14
Started: 2026-10-14

2005 Presidential Election: Data Preparation
Preparation scope | District-total percentages | Postal-vote percentages | Displaced-vote percentages | Registered-elector rows in special tables | Implementation details requiring review

Last update: 2026-10-14
Started: 2026-10-14

2010 Presidential Election: Data Preparation
Preparation scope | No additional correction recorded | Export and documentation limits

Last update: 2026-10-14
Started: 2026-10-14

2015 Presidential Election: Data Preparation
Preparation scope | Missing vote counts and associated percentages | Rambukkana turnout percentage

Last update: 2026-10-14
Started: 2026-10-14

2019 Presidential Election: Data Preparation
Initial OCR extraction prompt | Preparation scope | Supplemented missing results | Replaced misplaced result tables | Preserved registered-elector discrepancies | Imported and checked the ODS tables | Aligned summary and reporting labels | Aligned district names | Aligned electorate names with 2015 | Validation findings and export scope

Last update: 2026-10-14
Started: 2026-10-14