getPerson: getPerson

Description Usage Arguments Value Examples

View source: R/getPerson.R

Description

Fetch a particular person.

Usage

1
getPerson(id_person = NA)

Arguments

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.

Value

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.

Examples

1
getPerson(10001)

jblumenau/twfyR documentation built on Oct. 25, 2019, 7:13 a.m.