readSurvey

0th

Percentile

Read comma separated csv file from Qualtrics.

#' readSurvey Reads comma separated csvdata files generated by Qualtrics software. The second line containing the variable labels is imported. Repetitive introductions to matrix questions are automatically removed. Variable labels are stored as attributes.

Usage
readSurvey(file_name, convertStandardColumns = TRUE, stripHTML = TRUE)
Arguments
file_name

String. A csv data file.

convertStandardColumns

Boolean. If TRUE, then the function will convert general data columns (first name, last name, lat, lon, ip address, startdate, enddate etc.) to their proper format. defaults to TRUE.

stripHTML

Boolean. If TRUE, then remove html tags. Defaults to TRUE

Value

A data frame. Variable labels are stored as attributes. They are not printed on the console but are visibile in the RStudio viewer.

Aliases
  • readSurvey
Examples
# NOT RUN {
my_data_frame <- readSurvey("<YOUR-PATH-TO-CSV-FILE>")
# }
Documentation reproduced from package qualtRics, version 2.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.