Reads a CSV file exported from Qualtrics (with "Use choice text" enabled) and
returns a data frame formatted for downstream processing with
reshape_projoint
.
Value
A data frame where column names are preserved from the Qualtrics export. The first two rows of Qualtrics metadata are skipped automatically.
Examples
# \donttest{
# Write a tiny dummy Qualtrics-style CSV to a temp file
tmp <- tempfile(fileext = ".csv")
readr::write_csv(
data.frame(Q1 = c("Choice Text", "Choice Text", "A", "B")),
tmp
)
# Read it back in
df <- read_Qualtrics(tmp)
head(df)
#> # A tibble: 2 × 1
#> Q1
#> <chr>
#> 1 A
#> 2 B
# }