Description Usage Arguments See Also Examples
View source: R/election_candidates.R
Returns the name and party of all candidates standing in an election, for each constituency. Note that for general elections this can return a very large tibble with hundreds of variables.
1 2 3 4 5 6 7 |
ID |
Accepts an ID for a general or by-election from the 2010 General
Election onwards, and returns the results. If |
constit_details |
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 |
1 2 3 4 5 6 7 8 | ## Not run:
x <- election_candidates(ID = 382037)
y <- election_candidates()
z <- election_candidates(constit_details = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.