C_hss_rename | R Documentation |
This function is used to rename the variables in an HSS dataset from the 'Q01' format to more human-readable variable names. This is done based on the XLS form for that particular survey round. The XLS form needs to have 'r_name' columns in both the question & response option sheets for this to work.
C_hss_rename(dat, dict)
dat |
the dataframe containing the HSS survey |
xlsform |
File path to the XLS form for this particular HSS survey. |
Returns the dataframe with updated column names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.