Get information about parliamentary debates
getDebates(type = c("commons", "westminsterhall", "lords", "scotland", "northernireland"), date = NULL, search = NULL, person = NULL, gid = NULL, order = c("d", "r"), page = NULL, num = NULL)
| type | location of the debate. Defaults to the House of Commons |
|---|---|
| date | Date on which debates are required |
| search | A search string |
| person | A person identifier to specify which speaker's contributions are required |
| gid | A speech/debate identifier to restrict to a particular debate |
| order | whether to order results by date or relevance. Defaults to date |
| page | which page of results to provide. Defaults to first page |
| num | Number of results to return |
A complex data.frame of debate information. Documentation is somewhat lacking, and many columns contain data.frames so you'll have to dig around.