extract_answer_options.Rd
Obtain the answer options for a target variable as a set of name-value pairs in labelled numeric vector.
extract_answer_options(qnr_df, varname, to_exclude = NULL)
Data frame returned from parse_questionnaire
Variable name. Bare name of variable whose answer options to extract.
Numeric vector. Code of answer options to exclude.
Named numeric vector. Values are answer codes. Names are answer labels.