Description Usage Arguments Value
Calculates estimated election turnout by commonly asked demographic characteristic for validated British Election Study 2017 face to face survey data only.
1 2 |
dgraphic |
The demographic characteristic of interest. Must be defined as one of the following values: age, gender, ethnicity, religion, education. Must be defined between quotation marks. |
sample |
A boolean which if TRUE returns the unweighted sample size.
FALSE returns weighted sample size. Default value is FALSE.
|
percent |
A boolean which if FALSE does not calculate turnout percentages. Default value is TRUE. |
write |
A boolean which if TRUE creates a CSV in working directory. Default value is FALSE. |
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.