Skip to contents

Reshape categories data to be joined with metadata by category_id.

Usage

reshape_categories(categories_df)

Arguments

categories_df

Data frame. categories data frame produced by parse_categories() or parse_categories_file().

Value

Data frame with columns:

  • category_id. Category ID for joining with questionnaire metadata.

  • answer_value_*. Value of answer option.

  • answer_text_*. Text label of answer option.