mnis_department {mnis} | R Documentation |
mnis_department
Description
Request the holders of posts in specific departments by department ID.
Usage
mnis_department(
department_id = 0,
bench = "Government",
former = TRUE,
tidy = TRUE,
tidy_style = "snake_case"
)
Arguments
department_id |
The department to look up. |
bench |
Flag to return either Government or Opposition information.
This parameter is case insensitive, so both |
former |
Logical parameter to include both current and
former ministers/shadow ministers. If |
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
Value
A tibble with information on departments and ministers/shadow ministers.
Examples
## Not run:
x <- mnis_department(department_id = 0, bench = "Government", former = TRUE)
## End(Not run)