mps_on_date | R Documentation |
Retrieve information on all MPs who were members of the House of Commons on a date or between two dates.
mps_on_date(
date1 = Sys.Date(),
date2 = NULL,
constituency = FALSE,
tidy = TRUE,
tidy_style = "snake_case"
)
date1 |
The date to return the list of MPs from. Accepts character
values in |
date2 |
An optional query parameter. Accepts character values in
|
tidy |
If |
tidy_style |
The style to convert variable names to,
if |
Returns information on all MPs who were members of the House of Commons on the date specificed (if only one date is included as a parameter), or on or between the two dates if both are specified.
This function is identical to the mnis_mps_on_date
function from
the [mnis](https://cran.r-project.org/package=mnis)
package.
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.
## Not run:
x <- mps_on_date(date1 = "2017-04-19", date2 = "2010-05-04")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.