Code Monkey home page Code Monkey logo

lithuanian-parliamentary-election-data's Introduction

Lithuanian parliamentary election data

This repository stores a cleaned up version of Lithuanian parliamentary election voting data. The original data sets are freely available from https://www.rinkejopuslapis.lt/ataskaitu-formavimas website. The original data sets were downloaded on August 31, 2016. Some minor issues were fixed (mismatched total votes counts).

This data set was studied in a paper "Empirical analysis and agent-based modeling of Lithuanian parliamentary elections". You may freely reuse the data in your analysis. Refering to the paper would be appreciated.

Reference: A. Kononovicius, Empirical analysis and agent-based modeling of Lithuanian parliamentary elections, Complexity 2017: 7354642. doi: 10.1155/2017/7354642. arXiv: 1704.02101 [physics.soc-ph].

Note that this data set does not contain any data about voting by post (preliminary voting) as well as no votes cast in embassies and consulates.

Data structure

Each year data set is stored in 4 distinct files:

  • "YYYY-parties.csv" - stores names of the parties which participated in the election
  • "YYYY-major-district.csv" - stores names of the electoral districts
  • "YYYY-minor-district.csv" - stores names of the poling stations, as well as number of registered voters and total vote count
  • "YYYY-votes.csv" - stores number of votes cast for parties in polling stations

YYYY-parties.csv. This file stores two columns - org_id and org_name. org_id is an identifier for party whose name is org_name.

YYYY-major-district.csv. This file stores two columns - major_id and major_name. major_id is an identifier for an electoral district whose name is major_name.

YYYY-minor-district.csv. This file stores six columns:

  • minor_gid - generic identifier for a polling station (this is a unique id)
  • major_id - identifier of electoral district to which this polling station belongs
  • minor_id - identifier assigned to a polling station by electoral commission (there are duplicates even in the same electoral district)
  • minor_name - name of the polling station
  • registered_voters - number of voter assigned to this polling station
  • votes - number of votes cast in this polling station

YYYY-votes.csv. This files stores three columns:

  • minor_gid - polling station identifier
  • org_id - party identifier
  • votes - votes cast for the party in the polling station

All data files contain exactly one header row with column names. All data files are semicolon separated.

Updates

2018 November 20. Added 2016 election data.

lithuanian-parliamentary-election-data's People

Contributors

akononovicius avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.