Get information about Members of Parliament
getMPs(date = NULL, party = NULL, search = NULL)
| date | Date for which the MP list is constructed |
|---|---|
| party | Restrict to MPs in this party |
| search | A search string |
a data.frame with columns
member_id Member identifier
person_id Person identifier
name MP's first names then family name
party Party
constituency Constituency represented
office NULL if no offices held, or a list with one
element: a data.frame with column headings:
dept The committee or commission name
position Role, e.g. Member,
from_date Date tenure in office began
to_date Date tenure in office ended, or
9999-12-31 if still in office
or an empty list if parliament is dissolved.