make.votesheet {tapiR} | R Documentation |
Takes one or more House of Commons division lists and records the votes in a data frame with one row for each MP and one column for each division.
make.votesheet(divs, MPnames, verbose = TRUE)
divs |
A list, with one component for each division. Each division
is itself a list, with three components url ,
ayes and noes . |
MPnames |
A data frame of unique MP names, seatnames and parties. |
verbose |
Logical. If TRUE , progress is reported
on standard output. |
A data frame. See Votes0105
for the format.
David Firth
Firth, D and Spirling, A (2003) Divisions of the United Kingdom House of Commons, from 1992 to 2003 and beyond. Submitted for publication. At http://www.warwick.ac.uk/go/tapir.
data(Divs0105) data(MPnames0105) ## Do the first three divisions in June 2001: make.votesheet(Divs0105[1:3], MPnames0105)