Dataset Open Access
Full details are available at https://evanodell.com/projects/datasets/hansard-data
A public dataset of speeches in the Hansard, stored as a csv. The dataset provides information on every speech made in the House of Commons between the parliament returned from the 1979 general election and the end of 2018, with information on the speaking MP, their party, gender, birthdate, starting and finishing dates as an MP, age at the time of the speech, and cabinet/shadow cabinet jobs.
The code and matching data used to generate this dataset is available on Github.
The data used to create this dataset was taken from the parlparse project operated by They Work For You and supported by mySociety.
The dataset is licensed under a Creative Commons Attribution 4.0 International License.
The code used to create this dataset is licensed under an MIT license.
Please contact me if you find any errors in the dataset. The integrity of the public Hansard record is questionable at times, and while I have improved it, the data is presented 'as is'.