Data

Datasets included in parlitools

bes_2015 bes_2017 census_11

2015 General Election Results

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.

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.