Easy Downloading Capabilities for the Members' Name Information Service


[Up] [Top]

Documentation for package ‘mnis’ version 0.3.1

Help Pages

constituency_results_tidy constituency_results_tidy
date_tidy A function that makes date variables returned from the API datable, ie by converting them to POSIXct. Does the same thing for datetimes.
member_tidy Functions to tidy up the variable names returned from the API, and turn dates and datetimes to POSIXct.
mnis mnis: Easy Downloading Capabilities for the Member Name Information Service
mnis_addresses Additional member information
mnis_all_members All members data
mnis_all_reference Returns a list of 39 tibbles, with the name and data returned from each respective reference function.
mnis_base A generic function for the MNIS API
mnis_basic_details Additional member information
mnis_biography_entries Additional member information
mnis_bom Strip out BOM from JSON data
mnis_committees Additional member information
mnis_constituencies Additional member information
mnis_constituency_results Constituency election results
mnis_department mnis_department
mnis_elections_contested Additional member information
mnis_eligible mnis_eligible
mnis_experiences Additional member information
mnis_full_biog Full Biography
mnis_general_election_results Election results
mnis_government_posts Additional member information
mnis_honours Additional member information
mnis_house_memberships Additional member information
mnis_interests Additional member information
mnis_joined_between Members who joined between two dates.
mnis_known_as Additional member information
mnis_lords_type Peers' party affiliations
mnis_maiden_speeches Additional member information
mnis_member_date Returns a tibble with a member's status on a given date.
mnis_mps_on_date All MPs between two dates
mnis_opposition_posts Additional member information
mnis_other_parliaments Additional member information
mnis_parliamentary_posts Additional member information
mnis_parties Additional member information
mnis_party_state Party standing on a given date
mnis_peers_on_date Peers on date
mnis_political_interests Political and Geographical Interests
mnis_preferred_names Additional member information
mnis_staff Additional member information
mnis_statuses Additional member information
mnis_tidy Functions to tidy up the variable names returned from the API, and turn dates and datetimes to POSIXct.
ref_address_types Reference data
ref_answering_bodies Reference data
ref_areas Reference data
ref_area_types Reference data
ref_biography_categories Reference data
ref_cabinets Reference data
ref_committees Reference data
ref_committee_types Reference data
ref_constituencies Reference data
ref_constituency_areas Reference data
ref_constituency_types Reference data
ref_countries Reference data
ref_departments Reference data
ref_disqualification_types Reference data
ref_elections Reference data
ref_election_types Reference data
ref_end_reasons Reference data
ref_experience_types Reference data
ref_government_posts Reference data
ref_government_post_departments Reference data
ref_government_ranks Reference data
ref_honourary_prefixes Reference data
ref_honours Reference data
ref_honour_lists Reference data
ref_interest_categories Reference data
ref_lords_membership_types Reference data
ref_lords_ranks Reference data
ref_opposition_posts Reference data
ref_opposition_post_departments Reference data
ref_opposition_ranks Reference data
ref_other_parliaments Reference data
ref_parliamentary_posts Reference data
ref_parliamentary_ranks Reference data
ref_parliament_types Reference data
ref_parties Reference data
ref_party_sub_types Reference data
ref_photo_outputs Reference data
ref_statuses Reference data
ref_tidy Functions to tidy up the variable names returned from the API, and turn dates and datetimes to POSIXct.
ref_titles Reference data
tidy_bom A function to strip Byte Order Marks (BOM) out of JSON data returned from the API.