General Functions

General information retrieval functions.

mnis_all_members()

All Members of Both Parliaments

mnis_base()

A generic function for the MNIS API

mnis_eligible()

All eligible members of both houses

mnis_full_biog()

Biographical details

mnis_joined_between()

Members who joined between two dates.

mnis_mps_on_date()

All MPs between two dates

mnis_peers_on_date()

All peers between two dates

Reference Functions

Functions to return reference data, which can provide parameters for other function calls. The functions do not accept any arguments aside from the tidy argument, which defaults to TRUE, and the tidy_style argument, which defaults to ‘snake_case’.

mnis_all_reference()

All reference tables in a list

mnis_reference() ref_address_types() ref_answering_bodies() ref_areas() ref_area_types() ref_biography_categories() ref_cabinets() ref_committees() ref_committee_types() ref_constituencies() ref_constituency_areas() ref_constituency_types() ref_countries() ref_departments() ref_disqualification_types() ref_elections() ref_election_types() ref_end_reasons() ref_experience_types() ref_government_post_departments() ref_government_posts() ref_government_ranks() ref_honourary_prefixes() ref_honour_lists() ref_honours() ref_interest_categories() ref_lords_membership_types() ref_lords_ranks() ref_opposition_post_departments() ref_opposition_posts() ref_opposition_ranks() ref_other_parliaments() ref_parliamentary_posts() ref_parliamentary_ranks() ref_parliament_types() ref_parties() ref_party_sub_types() ref_photo_outputs() ref_statuses() ref_titles()

Reference data

Additional Functions

Functions to return additional information on an MP.

mnis_additional() mnis_basic_details() mnis_biography_entries() mnis_committees() mnis_addresses() mnis_constituencies() mnis_elections_contested() mnis_experiences() mnis_government_posts() mnis_honours() mnis_house_memberships() mnis_statuses() mnis_staff() mnis_interests() mnis_known_as() mnis_maiden_speeches() mnis_opposition_posts() mnis_other_parliaments() mnis_parliamentary_posts() mnis_parties() mnis_preferred_names()

Additional member information

mnis_extra()

A wrapper for mnis_additional functions.

Fixed Scope Functions

Functions to return datasets, with a limited number of accepted parameters.

mnis_party_state()

Party standing on a given date

mnis_constituency_results()

Constituency election results

mnis_department()

Minister/shadow minister posts

mnis_general_election_results()

Election results by area and date

mnis_lords_type()

Peers' party affiliations

mnis_member_date()

Member status on given date