Tools for Analysing UK Politics


[Up] [Top]

Documentation for package ‘parlitools’ version 0.2.0

Help Pages

parlitools-package parlitools: Tools for Analysing UK Politics with R
bes_2015 2015 General Election Results
bes_2017 2017 General Election Results
census_11 Constituency demographic information
council_data A tibble with details on the council make-up of local authorities across the UK.
current_mps Request data on all MPs eligible currently to sit in the House of Commons.
leave_votes_west A tibble with leave votes from the Brexit referendum in each constituency.
local_hex_map Hexagonal cartogram, of all Local Authorities in England, Wales and Scotland.
mps_on_date Retrieve information on all MPs who were members of the House of Commons on a date or between two dates.
parlitools parlitools: Tools for Analysing UK Politics with R
party_colour A tibble with the ID, name and hex code for the official colour of a variety of political parties.
west_hex_map A hexagonal cartogram of Westminster parliamentary constituencies, stored as a simple feature.