Description Usage Arguments Value Examples
View source: R/mnis_constituency_results.R
Returns a list with details of the constituency and a tibble with election results.
1 2 3 4 5 6 | mnis_constituency_results(
constituency_id = NULL,
election_id = 0,
tidy = TRUE,
tidy_style = "snake_case"
)
|
constituency_id |
The ID of the constituency to return the data for.
If |
election_id |
The ID of the election to return the data for. Defaults to 0, which returns the result of all elections held in that constituency. |
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
A list with details of the constituency, labelled 'details'
and a tibble with election results, labelled 'results'
. The list and
tibble are stored in a single object.
1 2 3 4 | ## Not run:
x <- mnis_constituency_results(constituency_id = 3709, election_id = 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.