read_qualtrics: Use read_csv on files downloaded from Qualtrics

Description Usage Arguments Value Examples

View source: R/read_qualtrics.R

Description

Data files exported from Qualtrics are famously difficult to import in R as the first three rows contain column names, text from the prompts and question labels. The second row contains the most user friendly information, but because it is not possible to skip both the first and the third row when reading a file, this usually leads to the annoying consequence that your first row contains strings, which are either converted to factors or force you to specify the type for all columns. Use read_qualtrics instead to directly import your csv file with usable column names and allow read_csv to impute your column types.

Usage

1

Arguments

file

A path to a csv file imported from Qualtrics

Value

A tibble().

Examples

1
2
3
4
## Not run: 
read_qualtrics("qualtrics_import.csv")

## End(Not run)

PLMir/psyhelper documentation built on Oct. 30, 2019, 10:25 p.m.