constituencies.Rd
Imports data on House of Commons constituencies, returning a tibble of all current and/or former Westminster constituencies, subject to parameters.
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)
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 |
A tibble with details of Westminster constituencies.
# NOT RUN { x <- constituencies() y <- constituencies(current = FALSE) # }