| mnis_basic_details {mnis} | R Documentation |
Additional member information
Description
A series of basic function for the API lookup. Each of these functions accepts a member's ID and returns information; if no ID is given basic information on all members of both houses is returned. All functions return basic details about the member (name, date of birth, gender, constituency, party, IDs, current status, etc.), as well as any available additional information requested by the specific function.
Usage
mnis_basic_details(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_biography_entries(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_committees(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_addresses(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_constituencies(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_elections_contested(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_experiences(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_government_posts(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_honours(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_house_memberships(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_statuses(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_staff(ID = NULL, ref_dods = FALSE, tidy = TRUE, tidy_style = "snake_case")
mnis_interests(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_known_as(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_maiden_speeches(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_opposition_posts(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_other_parliaments(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_parliamentary_posts(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_parties(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
mnis_preferred_names(
ID = NULL,
ref_dods = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
Arguments
ID |
The member ID. If |
ref_dods |
If |
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
Value
A list with the data corresponding to the particular function called.
mnis_additional functions
-
mnis_basic_detailsBasic biographical details on a given Member -
mnis_biography_entriesMember biographical information (e.g. countries of interest, policy expertise etc...) -
mnis_committeesCommittees a Member sits or has sat on as well details on committee chairing -
mnis_addressesMember address information (e.g. website, twitter, constituency address etc...) -
mnis_constituenciesConstituencies a Member has represented -
mnis_elections_contestedElections a Member has contested but not won -
mnis_experiencesNon-parliamentary experience of a Member -
mnis_government_postsGovernment posts a Member has held -
mnis_honoursHonours (e.g. MBE, OBE etc...) held by a Member -
mnis_house_membershipsHouse membership list of a Member -
mnis_statusesStatus history (e.g. suspensions and disqualifications) for a Member -
mnis_staffThe staff employed by a Member -
mnis_interestsRegistered (financial) interests of a Member -
mnis_known_asDetails of names a Member has chosen to be known as instead of their full title, only applicable to members of the House of Lords -
mnis_maiden_speechesMaiden speech dates for a Member -
mnis_opposition_postsOpposition posts a Member has held -
mnis_other_parliamentsOther Parliaments that a Member has held a membership of (e.g. members of the Welsh Assembly) -
mnis_parliamentary_postsParliamentary posts a Member has held -
mnis_partiesParty affiliations of a Member -
mnis_preferred_namesFull set of data about a Members' name (e.g. surname, forename, Honorary prefixes, full details of House of Lords title and rank if applicable, etc...)
See Also
Examples
## Not run:
x <- mnis_basic_details(172)
## End(Not run)