T_hss_combine_single | R Documentation |
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.
T_hss_combine_single(df, var)
hss_combine_multi(df, var)
df |
The dataframe containing the questions |
var |
The shared element in all of the question/variable names |
This returns a dataframe with the response options and the number of responses for that option.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.