Returns a tibble with the divisions (votes) in the House of Commons on a given date.
commons_division_date(
date = NULL,
extra_args = NULL,
tidy = TRUE,
tidy_style = "snake",
verbose = TRUE
)
hansard_commons_division_date(
date = NULL,
extra_args = NULL,
tidy = TRUE,
tidy_style = "snake",
verbose = TRUE
)
Returns all divisions on a given date.
Defaults to NULL
.
Additional parameters to pass to API.
Defaults to NULL
.
Logical parameter. If TRUE
, fixes 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
.
The style to convert variable names to, if
tidy = TRUE
. Accepts any style accepted by to_any_case.
Defaults to 'snake'
.
If TRUE
, displayes messages on the console on the
progress of the API request. Defaults to TRUE
.
A tibble with the dates of divisions in the House of Commons.
if (FALSE) {
# all commons divisions on 19 April 2017
x <- commons_division_date("2017-04-19")
}