View source: R/!archived/read_Qualtrics.R View source: R/read_Qualtrics.R
| read_Qualtrics | R Documentation |
Reads a CSV file exported from Qualtrics (with "Use choice text" enabled) and
returns a data frame formatted for downstream processing with
reshape_projoint.
read_Qualtrics(.file)
.file |
A character string giving the path to a Qualtrics CSV file. |
A data frame where column names are preserved from the Qualtrics export. The first two rows of Qualtrics metadata are skipped automatically.
reshape_projoint
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.