Re-attach label information from Qualtrics not obtained from regular data downloads
Source:R/qualtrics.R
attach_qualtrics_labels.Rd
Re-attach label information from Qualtrics not obtained from regular data downloads
Usage
attach_qualtrics_labels(
data,
questions,
reverse_stata_replacement = FALSE,
questions_var = "qname",
questions_question = "question"
)
Arguments
- data
Data.frame with original variable names.
- questions
Data frame with questions obtained from
qualtRics::survey_questions()
- reverse_stata_replacement
If variable names have already been modified
- questions_var
String, indicating column name in
questions
that indicates column names.- questions_question
String, indicating column name in
questions
for the full question. with full stops changed to underscores, this will reverse them for connection. Rarely needed. Defaults to FALSE.