Skip to content

jackobailey/britpol

Repository files navigation

britpol

The britpol hexlogo

The {britpol} package makes analysing British political data quick and simple. It contains two pre-formatted datasets, plus a host of useful functions. The first dataset, pollbase, is a long-format version of Mark Pack’s dataset of historic British public opinion polls combined with more recent data from Wikipedia. The second, pollbasepro, provides 24,364 daily estimates of voting intention figures for each of Britain’s three largest parties from 26 May 1955 to 6 February 2022.

To install the latest version of {britpol}, run the following code in R:

devtools::install_github("jackobailey/britpol")

Latest Polling Estimates from PollBasePro

Recent polling figures

British Poll of Polls, 6 February 2022:

  • Labour Party: 42% (39% to 44%)
  • Conservative Party: 31% (28% to 34%)
  • Liberal Democrats: 12% (10% to 13%)

pollbasepro suggests that the Labour Party is the largest party in Britain. They hold a lead over the Conservative Party of around 10pp (6pp to 14pp). This puts the Conservative Party in second and the Liberal Democrats in third.

Notes, Usage, and Attribution

{britpol}, pollbase, and pollbasepro will change over time as elections come and go. Users should use only the most recent version of the package when conducting their analyses. Like any project, some minor mistakes might have crept into the code. If you think that you have found an error or would like to make a recommendation for a future update, please raise an issue.

You may also use the {britpol} codebase for your own purposes in line with its license. But you must do so with attribution. That is, you may reproduce, reuse, and adapt the code as you see fit, but must state in each case that you used {britpol} to produce your work. The relevant citations are as follows:

britpol

PollBasePro

  • Data: Bailey, J., M. Pack, and L. Mansillo (2022) PollBasePro: Daily Estimates of Aggregate Voting Intention in Great Britain from 1955 to 2022 v.0.1.0 [computer file], February 2022. Retrieved from https://doi.org/10.7910/DVN/3POIQW.

  • Paper: Bailey, J., M. Pack, and L. Mansillo (2022) PollBasePro: Daily Estimates of Aggregate Voting Intention in Great Britain from 1955 to 2022. Retrieved from doi.

About

Data and Functions for Studying British Politics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published