read_Qualtrics: Read and re-format a Qualtrics CSV (choice text)

View source: R/!archived/read_Qualtrics.R View source: R/read_Qualtrics.R

read_QualtricsR Documentation

Read and re-format a Qualtrics CSV (choice text)

Description

Reads a CSV file exported from Qualtrics (with "Use choice text" enabled) and returns a data frame formatted for downstream processing with reshape_projoint.

Usage

read_Qualtrics(.file)

Arguments

.file

A character string giving the path to a Qualtrics CSV file.

Value

A data frame where column names are preserved from the Qualtrics export. The first two rows of Qualtrics metadata are skipped automatically.

See Also

reshape_projoint

Examples


# 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)



projoint documentation built on Feb. 16, 2026, 5:10 p.m.