View source: R/connect_to_formr.R
choice_labels_for_values | R Documentation |
formr display labels for multiple choice items, but stores their values. We assume you prefer to analyse the values (e.g. numeric values for Likert-type items, or English values for international surveys), but sometimes you may wish to switch this around.
choice_labels_for_values(survey, item_name)
survey |
survey with item_list attribute |
item_name |
item name |
example(formr_post_process_results)
table(processed_results$BFIK_extra_4)
table(choice_labels_for_values(processed_results, "BFIK_extra_4"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.