Description Usage Arguments Examples
View source: R/mnis_joined_between.R
Function returns all members who took their seats in the house between two given dates.
1 2 3 | mnis_joined_between(start_date = "1900-01-01", end_date = Sys.Date(),
house = "all", party = NULL, eligible = "all", tidy = TRUE,
tidy_style = "snake_case")
|
start_date |
The start date of the search, Accepts character values in "YYYY-MM-DD" format, and objects of class Date, POSIXt, POSIXct, POSIXlt or anything else than can be coerced to a date with |
end_date |
The end date of the search. Accepts character values in "YYYY-MM-DD" format, and objects of class Date, POSIXt, POSIXct, POSIXlt or anything else than can be coerced to a date with |
house |
The house to which the member belongs. Accepts one of 'all', 'lords' and 'commons', defaults to 'all'. |
party |
The party to which a member belongs. Defaults to NULL. |
eligible |
If the member is currently eligible to sit. Accepts one of 'all', 'current', 'former', defaults to 'all'. |
tidy |
Fix the variable names in the tibble to remove non-alphanumeric characters and superfluous text, and convert variable names to a consistent style. Defaults to TRUE. |
tidy_style |
The style to convert variable names to, if tidy=TRUE. Accepts one of "snake_case", "camelCase" and "period.case". Defaults to "snake_case". |
1 2 3 4 5 6 | ## Not run:
x <- mnis_joined_between(start_date = '2015-01-01', end_date ='2017-01-01', party='labour')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.