getMPs {twfy} | R Documentation |
Get information about Members of Parliament
Description
Get information about Members of Parliament
Usage
getMPs(date = NULL, party = NULL, search = NULL)
Arguments
date |
Date for which the MP list is constructed |
party |
Restrict to MPs in this party |
search |
A search string |
Value
a data.frame with columns
member_id
Member identifierperson_id
Person identifiername
MP's first names then family nameparty
Partyconstituency
Constituency representedoffice
NULL if no offices held, or a list with one element: a data.frame with column headings:dept
The committee or commission nameposition
Role, e.g. Member,from_date
Date tenure in office beganto_date
Date tenure in office ended, or9999-12-31
if still in office
or an empty list if parliament is dissolved.
[Package twfy version 0.1.0 Index]