Structured data about Members of Parliament. These are JSON or XML files, so
you can open them in a text editor or similar. In the files there are comments
with more information. MP data goes back to the start of Hansard at the start
of the 19th century (including data from Parliament’s historic Hansard
project), data for Lords goes back to the major reform in 1999, and data for
the devolved assemblies goes back to their creation.
Data of all MPs, Lords, MSPs and MLAs covered by the project, in Popolo
format, including names (and alternate names
such as misspellings or name changes), party, constituency (non-Lords), and
peerage information (Lords). There is a unique identifier for each element.
Each membership is a continuous period of holding office, loyal to the same
party. An MP who was in two parliaments, or in one parliament then later became
a Lord, will have two memberships associated with the same person. An MP who
also changed party will have three memberships. Dates of deaths, byelections
and party changes are recorded.
ministers.json / ministers-2010.json
Contains ministerial positions and the department they were in. Each one
includes an ID, date range, and the person ID.
constituencies.json / sp-constituencies.json
List of constituencies, including alternative spellings.