T_hss_combine_questions: Combine multiple questions with the same response options

T_hss_combine_singleR Documentation

Combine multiple questions with the same response options

Description

The HSS data contains several questions that are repeated a number of times (for example to ask the same question for several different actors/topics). These questions can be represented with individual tables for each questions, but for some publications it might be preferable to combine these questions in a single overview table.

Usage

T_hss_combine_single(df, var)

hss_combine_multi(df, var)

Arguments

df

The dataframe containing the questions

var

The shared element in all of the question/variable names

Value

This returns a dataframe with the response options and the number of responses for that option.


RenRMT/hsstools documentation built on April 14, 2025, 7:10 p.m.