documentation/readme.md

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,115 daily estimates of voting intention figures for each of Britain’s three largest parties from 26 May 1955 to 2 June 2021.

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, 2 June 2021:

pollbasepro suggests that the Conservative Party is the largest party in Britain. They hold a lead over the Labour Party of around 8% (4% to 11%). This puts the Labour 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



jackobailey/britpol documentation built on Aug. 6, 2023, 2:30 a.m.