Skip to contents

Given a dataframe of survey responses, look for standard SurveyMonkey demographic questions and code/recode them into new variables that are more banner-, plot-, and analysis-friendly. Use code_std_demo_vars() to perform all standard demographic recodes, or select the specific function you need. Run std_demo_vars() to return the full index of SurveyMonkey's standard demographic variables.

Usage

std_demo_vars(data)

Arguments

data

Input data frame of survey responses.

Value

Survey data frame with new (or updated) columns corresponding to all discoverable demographic variables for respondents.