Description Usage Arguments Value Examples
View source: R/constituencies.R
Imports data on House of Commons constituencies, returning a tibble of all current and/or former Westminster constituencies, subject to parameters.
1 2 3 4 5 | 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.
1 2 3 4 5 6 | ## Not run:
x <- constituencies()
y <- constituencies(current = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.