getMLA {twfy} | R Documentation |
Get information on a Member of the Legislative Assembly (Northern Ireland)
Description
Get information on a Member of the Legislative Assembly (Northern Ireland)
Usage
getMLA(id = NULL, postcode = NULL, constituency = NULL,
always_return = NULL)
Arguments
id |
A MLA identifier |
postcode |
A postcode, which specifies a region represented by the MLA |
constituency |
Name of a constituency |
always_return |
whether to try to return an MP even if the seat is vacant or it before an election |
Value
a data.frame with rows representing the MLA's spells in the Assembly and columns
member_id
Member identifier for each spell in the Assemblyhouse
1: House of Commons, 2: House of Lords, 3: Legislative Assembly (NI), 4: Scottish Parliamentconstituency
Constituency representedparty
Partyentered_house
Date MP entered Parliamentleft_house
Date MP left Parliament, or 9999-12-31 if still in placeentered_reason
Reason MP entered, e.g. general_electionleft_reason
Reason MP left, e.g. general_election_standingperson_id
Person identifierlastupdate
When TheyWorkForYou last updated this informationtitle
Title, if anygiven_name
First namefamily_name
Family namefull_name
First name and family nameurl
URL path relative to TheyWorkForYou's hostnameimage
URL path to jpg relative to TheyWorkForYou's hostnameimage_height
Image height in pixelsimage_width
Image width in pixels