Description Usage Arguments Value Examples
Fetch a particular person.
1 |
id |
If you know the person ID for the member you want (returned from getMPs or elsewhere), this will return data for that person. This will return all database entries for this person, so will include previous elections, party changes, etc. |
list of 2 elements. The first element is a data.frame named ‘member' which includes information of the person’s house memberships. The second is a data.frame named 'office' which details the offices that member has held.
1 | getPerson(10001)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.