View source: R/calculate_functions.R
If a voter voted in any of the elections (lower house, upper house, head of state) the respondent is classified as 'Voted', otherwise 'Did Not Vote'
1 2 3 4 5 6 7 8 9 | calc_voted(
data,
new_name = "voted",
early_module_ballot_1,
early_module_ballot_2,
current_pres_1st,
current_pres_2nd,
current_lh
)
|
data |
a data frame |
new_name |
name of the new column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.