Description Usage Arguments Value Examples
View source: R/mnis_mps_on_date.R
A tibble with information on all MPs who were members of the House of Commons on the date specificed (if only date1 is included as a parameter), or on or between the two dates if both date1 and date2 are specified.
1 2 | mnis_mps_on_date(date1 = Sys.Date(), date2 = NULL, tidy = TRUE,
tidy_style = "snake_case")
|
date1 |
The date to return the list of mps from. 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 |
date2 |
An optional query parameter. 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 extra characters, 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". |
A tibble with information on all MPs who were members of the House of Commons on the date specificed (if only date1 is included as a parameter), or on or between the two dates if both date1 and date2 are specified.
1 2 3 4 5 6 | ## Not run:
x <- mnis_mps_on_date()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.