mnis_political_interests {mnis} | R Documentation |
Political and Geographical Interests
Description
Returns a tibble with members with the specified interest or interests.
Usage
mnis_political_interests(
interest,
house = NULL,
current = TRUE,
tidy = TRUE,
tidy_style = "snake_case"
)
Arguments
interest |
A single interest in the form of a string, or a character vector of interests. If a vector of multiple interests, returns all members who list all of those interests. |
house |
The house the member belongs to. Accepts 'commons', 'lords'
and |
current |
Logical. If |
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
Value
A data frame of members with given interest(s).
Examples
## Not run:
x <- mnis_political_interests(c("Africa", "Jamaica"))
y <- mnis_political_interests(c("Africa", "Europe"))
z <- mnis_political_interests(c("Africa", "Education"))
## End(Not run)