Skip to content

Creating UK General Election Variables

The code creates UK general election (GE) variables for 2010, 2015, 2017, and 2019. The variable for 2015 is adjusted for minor inconsistencies in missing values. The variables for 2017 and 2019 adjust for: 

  • correcting the same inconsistencies, 
  • capturing the value of the GE variable in the wave in which it was asked, 
  • if the GE question was asked (accidentally) in more than one wave, taking the value of the first response. 

If you have any questions, please email p.marzec@essex.ac.uk.

Download (STATA, 6 KB)

Email newsletter

Sign up to our newsletter