GithubHelp home page GithubHelp logo

mep_db's Introduction

MEP_db

A database of current and past Members of the European Parliament.

This database has been created by running queries in wikidata.org. The current database was compiled on the 10th of april 2020 and contains the data as it was on this day on wikidata.

The data is in MEP_db.csv. The queries, documentation and code to re-create the data are all in MEP_data_cleaner.ipynb. I don't actively maintain the code, so it is not guaranteed to work.

The table contains the following columns

  • MEP_name: The name of the member of parliament
  • national_party: the (english name of the) national party the MEP represents.
  • EU_parliament_group: The eu parliament group/fraction the MEP is part of.
  • EU_electoral_district: The electoral district from which the MEP was chosen.
  • elected_in_country: The country the electoral district is in.
  • start_date: The date on which the MEP started in the EU parliament.
  • end_date: The date on which the MEP left the EU parliament.
  • parliamentary_term: the parliamentary term in which the MEP served. Note that the start date and end date of this term do not necessarily align with the start date and end date for an individual MEP since an MEP might leave earlier and be replaced by a different MEP.

Every column except the date columns also have an id column. This is constructed by concatenating _id to the column name. So in the case of MEP_name this becomes MEP_name_id. These columns contain an unique URL to the objects entry in wikidata.

If an MEP served multiple terms, it has multiple rows in the table, each row representing one term.

If certain information was not in wikidata, the cell is left blank.

NOTE: this is only a selection of data from wikidata. So the limitations of wikidata are the same as the limitations for this data. I don't guarantee correctness and completeness of the data.

Although I don't actively maintain this, you can always contact me with questions.

mep_db's People

Contributors

hdvos avatar

Stargazers

Alvaro Romero Bonaplata avatar J. Sun avatar Verena Kunz avatar Ben Companjen avatar

Watchers

 avatar

Forkers

verenakunz

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.