Skip to content
/ MEP_db Public

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

Notifications You must be signed in to change notification settings

hdvos/MEP_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published