Description Usage Arguments Value See Also Examples
View source: R/mnis_party_state.R
A tibble with information on the numbers and gender of MPs, by party, for the given date.
1 2 | mnis_party_state(house = "Commons", date = Sys.Date(), tidy = TRUE,
tidy_style = "snake_case")
|
house |
The house of parliament. Accepts either 'Lords' or 'Commons'. Defaults to 'Commons'. |
date |
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 |
tidy |
Fix the variable names in the tibble to remove special characters and superfluous text, and converts the 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". |
A tibble with information on the numbers and gender of MPs, by party, by party, for the given date.
mnis_mps_on_date
mnis_peers_on_date
1 2 3 4 5 6 | ## Not run:
x <- mnis_party_state('2012-01-12')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.