Home

Awesome

turkeyelections


This package is the first and only comprehensive and extensive resource dedicated to Turkish election results. Its purpose is to provide data that is both processable and facilitates analysis of local and general elections, as well as presidential elections held in Turkey between 1995 and 2023. Additionally, the package generates visuals that assist in deriving meaningful insights from these data.

<img src="https://github.com/ozancanozdemir/turkeyelections/assets/33122288/68f73024-fbf5-4316-bda4-00d055cc6eaa" width="200">

You can read the package's article published in Journal of Statistics and Applied Sciences for more information about the package and its usage from here

Installation

You can install the package either from GitHub

remotes::install_github('ozancanozdemir/turkeyelections')

Or from CRAN

install.packages("turkeyelections")

The Usage

The package has 4 main functions.

show_results_for_turkey(genel_secim_2007_turkiye)

image

show_results_for_turkey(genel_secim_2007_turkiye,percentage =TRUE)

image

show_parliament(genel_secim_2002_turkiye)

image

show_province_and_party("Ankara", "CHP")

image

show_province_and_party("Ankara", "CHP",percentage =TRUE)

image