House of Lords Divisions

Share:

Description

Imports data on House of Lords divisions #' @param type The type of data you want, allows the arguments 'all', 'date', 'no', 'aye'

Usage

1
lords_divisions(lordsDivType = c("all", "date", "notContent", "content"))

Arguments

lordsDivType

Accepts arguments 'all', 'date', 'notContent' and 'content'

all

Returns a data frame with all available divisions in the House of Lords.

date

Requests a date, and then returns a data frame with all divisions on that date.

notContent

Requests a member ID, and then returns a data frame with all divisions in which they have voted not content.

content

Requests a member ID, and then returns a data frame with all divisions in which they have voted content.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
x <- lords_divisions('all')

x <- lords_divisions('date')

x <- lords_divisions('notContent')

x <- lords_divisions('content')

## End(Not run)