use_labels {excluder} | R Documentation |
Use Qualtrics labels as column names
Description
The use_labels()
function renames the columns using the labels generated
in Qualtrics. Data must be imported using
qualtRics::fetch_survey()
.
Usage
use_labels(x)
Arguments
x |
Data frame imported using |
Value
An object of the same type as x
that has column names using the labels
generated in Qualtrics.
See Also
Other column name functions:
rename_columns()
Examples
# Rename columns
data(qualtrics_fetch)
qualtrics_renamed <- qualtrics_fetch %>%
use_labels()
names(qualtrics_fetch)
names(qualtrics_renamed)
[Package excluder version 0.5.1 Index]