Description Usage Arguments Value mnis_additional functions See Also Examples
View source: R/mnis_deprecated.R
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | 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"
)
|
ID |
The member ID. If |
ref_dods |
If |
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
A list with the data corresponding to the particular function called.
mnis_additional functionsmnis_basic_details Basic biographical details
on a given Member
mnis_biography_entries Member biographical information (e.g.
countries of interest, policy expertise etc...)
mnis_committees Committees a Member sits or has sat on as
well details on committee chairing
mnis_addresses Member address information (e.g. website,
twitter, constituency address etc...)
mnis_constituencies Constituencies a Member has represented
mnis_elections_contested Elections a Member has
contested but not won
mnis_experiences Non-parliamentary experience of a Member
mnis_government_posts Government posts a Member has held
mnis_honours Honours (e.g. MBE, OBE etc...) held by a Member
mnis_house_memberships House membership list of a Member
mnis_statuses Status history (e.g. suspensions and
disqualifications) for a Member
mnis_staff The staff employed by a Member
mnis_interests Registered (financial) interests
of a Member
mnis_known_as Details 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_speeches Maiden speech dates for a Member
mnis_opposition_posts Opposition posts a Member has held
mnis_other_parliaments Other Parliaments that a Member has held
a membership of (e.g. members of the Welsh Assembly)
mnis_parliamentary_posts Parliamentary posts
a Member has held
mnis_parties Party affiliations of a Member
mnis_preferred_names Full 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...)
1 2 3 4 | ## Not run:
x <- mnis_basic_details(172)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.