var_skill_question_nr | R Documentation |
Determines the skill question number each variable corresponds to. In case no skill question number could be determined for a variable, NA_character
is
returned.
var_skill_question_nr(var_names)
var_names |
A character vector of FOKUS variable names. |
Note that the determination is performed by simply parsing var_names
.
An integer 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_prcd()
,
var_proposal_nr()
,
var_title()
,
var_val_set()
fokus::qstnrs |>
dplyr::mutate(skill_question_nr = fokus::var_skill_question_nr(variable_name)) |>
dplyr::filter(!is.na(skill_question_nr)) |>
dplyr::select(variable_name, skill_question_nr) |>
unique()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.