Description Usage Arguments Value Member details functions See Also Examples
Imports basic details on current and former Members of Parliament including the Lords and the Commons. For more details on a given member see mnis_full_biog from the mnis package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | members(ID = NULL, extra_args = NULL, tidy = TRUE,
tidy_style = "snake", verbose = TRUE)
hansard_members(ID = NULL, extra_args = NULL, tidy = TRUE,
tidy_style = "snake", verbose = TRUE)
commons_members(extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
hansard_commons_members(extra_args = NULL, tidy = TRUE,
tidy_style = "snake", verbose = TRUE)
lords_members(extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
hansard_lords_members(extra_args = NULL, tidy = TRUE,
tidy_style = "snake", verbose = TRUE)
|
ID |
The ID of a member of the House of Commons or the House of Lords
to return data on. If |
extra_args |
Additional parameters and queries to pass to API. These
queries must be strings and start with "&". See the
API documentation
or the package vignette for more details. Defaults to |
tidy |
Logical parameter. If |
tidy_style |
The style to convert variable names to, if
|
verbose |
If |
A tibble with data on members of the House of Commons
(commons_members()
), the House of Lords, (lords_members()
),
or both (members()
).
members
Basic details on a given member from either house
commons_members
MPs in the House of Commons
lords_members
Peers in the House of Lords
1 2 3 4 5 6 7 8 9 10 | ## Not run:
a <- members()
x <- members(172)
y <- commons_members()
z <- lords_members()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.