Defaults are based on most common format received from Qualtrics downloads to CSV or XLSX (MS Excel) formats. We assume that the file has the column names in row 1 and that 3 rows are skipped before the real data begins. If the parameter questrow is used, it designates a row that is interpreted as the survey questions themselves. Often, this is in row 2.
importQualtrics(file, namerow = 1, skip = 3, questrow = NULL,
dropTEXT = TRUE, stringsAsFactors = FALSE)
Character string with file name of a CSV or XLSX file from Qualtrics.
Default 1, the information to be used as column names (the HEADER information in R's read.table function)
Number of rows to omit because they are not data
Row number to be treated as the questions in the survey. Usually 2. Default is NULL, meaning questions are not imported.
Default TRUE, columns ending in "_TEXT" are omitted.
Default FALSE, same meaning as R's read.csv. Does not affect importation of Excel files.
Data frame that has attribute "questions" if questrow is specified.