get_election_results: Get elections data for Kosovo

Description Usage Arguments Examples

View source: R/functions.R

Description

Get elections data for Kosovo

Usage

1
2
3
4
5
6
get_election_results(
  type = c("national", "local", "mayor", "mayor2"),
  year = NULL,
  by = c("party", "candidate"),
  level = c("national", "municipality", "pc", "ps")
)

Arguments

type

c("national", "local", "mayor", "mayor2")

year

From 2010 and above

by

c("party", "candidate")

level

c("national", "municipality", "pc", "ps")

Examples

1
data <- get_election_results(type = "national", year = 2021, by = "candidate", level = "municipality")

Kushtrimvisoka/kosovoelections documentation built on Jan. 28, 2022, 4:06 a.m.