collect.MPnames {tapiR} | R Documentation |
Constructs a comprehensive dataset of all MP names found in a set of House of Commons division lists, in alphabetical order and with duplicates removed.
collect.MPnames(divs, verbose = TRUE)
divs |
A list, each component representng one House of Commons
division. For the format see Divs0103 . |
verbose |
Logical. If TRUE , progress is reported. |
A data frame with two columns, MPname
and seatname
.
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.stats.ox.ac.uk/~firth/tapiR/.
data(Divs0103) ## Collect all names from the first two divisions in June 2001: collect.MPnames(Divs0103[1:2])