Description Usage Arguments Value
Calculates estimated election turnout by demographic characteristic for British Election Study survey data.
1 2 |
data |
A dataframe containing British Election Study internet or face to face survey data. |
dgraphic |
The name of the variable for the demographic characteristic of interest. Must be defined between quotation marks. |
vote |
The name of the variable which captures response from suvey respondent to the question if they voted or not in the election of interest. Must be defined between quotation marks. |
wt |
The name of the weight variable to be used in analysis. Must be defined between quotation marks. |
validated |
Use when survey respondent's vote registeration has not
been validated by British Election Study. A boolean which if FALSE
filters |
result |
Use when |
sample |
A boolean which if TRUE returns the unweighted sample size. FALSE returns weighted sample size. Default value is FALSE. If {validated |
is FALSE then result
must be default.
percent
must be FALSE to show sample sizes.
A tibble or CSV containing turnout estimates for selected demographic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.