collect.MPnames {tapiR}R Documentation

Gather all MP Names from a Set of Division Lists

Description

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.

Usage

collect.MPnames(divs, verbose = TRUE)

Arguments

divs A list, each component representng one House of Commons division. For the format see Divs0105.
verbose Logical. If TRUE, progress is reported.

Value

A data frame with two columns, MPname and seatname.

Note

This is a utility functon, for use in the construction of a dataset such as MPnames0105.

Author(s)

David Firth

References

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.

See Also

uniquify.MPnames

Examples

data(Divs0105)
##  Collect all names from the first two divisions in June 2001:
collect.MPnames(Divs0105[1:2])

[Package tapiR version 0.7-3 Index]