constituencies {hansard} | R Documentation |
House of Commons constituencies
Description
Imports data on House of Commons constituencies, returning a tibble of all current and/or former Westminster constituencies, subject to parameters.
Usage
constituencies(current = NULL, extra_args = NULL, tidy = TRUE,
tidy_style = "snake", verbose = TRUE)
hansard_constituencies(current = NULL, extra_args = NULL,
tidy = TRUE, tidy_style = "snake", verbose = TRUE)
Arguments
current |
If |
extra_args |
Additional parameters and queries to pass to API. These
queries must be strings and start with "&". See the
API documentation
or the package vignette for more details. Defaults to |
tidy |
Logical parameter. If |
tidy_style |
The style to convert variable names to, if
|
verbose |
If |
Value
A tibble with details of Westminster constituencies.
Examples
## Not run:
x <- constituencies()
y <- constituencies(current = FALSE)
## End(Not run)