Data

Datasets included in parlitools

bes_2015

2015 General Election Results

bes_2017

2017 General Election Results

bes_2019

2019 General Election Results

census_11

Constituency demographic information

party_colour

A tibble with the ID, name and hex code for the official colour of a variety of political parties.

leave_votes_west

A tibble with leave votes from the Brexit referendum in each constituency.

council_seats()

Council Seats

la_codes

A tibble with the name, ONS code and local authority type for UK local authorities.

ni_ge_2017

Northern Ireland GE Results

Data Retrieval

Data retrieval functions

mps_on_date()

MPs on or between two dates

current_mps()

All current MPs

Maps

Hexagonal maps included with parlitools

west_hex_map local_hex_map

A hexagonal cartogram of Westminster parliamentary constituencies, stored as a simple feature.