Data

Datasets included in parlitools

bes_2015

2015 General Election Results

bes_2017

2017 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.

council_data

A tibble with details on the council make-up of local authorities across the UK.

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.