var_prcd | R Documentation |
Determines the election procedure each variable corresponds to. In case no election procedure could be determined for a variable, NA_character
is returned.
var_prcd(var_names)
var_names |
A character vector of FOKUS variable names. |
Note that the determination is performed by simply parsing var_names
.
A character vector of the same length as var_names
.
Other variable-related functions:
add_vars_to_combos()
,
is_skill_question_var()
,
var_election_nr()
,
var_lbl()
,
var_lvls()
,
var_proposal_nr()
,
var_skill_question_nr()
,
var_title()
,
var_val_set()
fokus::qstnrs |>
dplyr::mutate(prcd = fokus::var_prcd(variable_name)) |>
dplyr::filter(!is.na(prcd)) |>
dplyr::select(variable_name, prcd) |>
unique()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.