getDebates: Get information about parliamentary debates

Description Usage Arguments Value

View source: R/twfy.R

Description

Get information about parliamentary debates

Usage

1
2
3
getDebates(type = c("commons", "westminsterhall", "lords", "scotland",
  "northernireland"), date = NULL, search = NULL, person = NULL,
  gid = NULL, order = c("d", "r"), page = NULL, num = NULL)

Arguments

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

Value

A complex data.frame of debate information. Documentation is somewhat lacking, and many columns contain data.frames so you'll have to dig around.


twfy documentation built on May 2, 2019, 4:16 a.m.