read_Qualtrics: Quick import Qualtrics files

read_QualtricsR Documentation

Quick import Qualtrics files

Description

A quick-import option for Qualtrics surveys that performs a number of functions. It reads in a .csv file; cleans the column names; removes the extra two rows that Qualtrics includes underneath the header rows; reformats the date columns with lubridate and removes their time stamps; drops junk columns; and drops test runs and spam responses from the data.

Usage

read_Qualtrics(file, qualtrics_coding_type, remove_spam)

Arguments

file

A qualtrics .csv file export.

qualtrics_coding_type

Set to either "text" or "numeric", depending on how you exported the data from qualtrics

remove_spam

a toggle option to remove spam and test responses; set to either TRUE or FALSE. If true, all responses marked by Qualtrics as being spam or from the survey preview mode will be removed from the data automatically upon import.


ryan-a-schneider/legaldmlab documentation built on July 2, 2023, 5:02 a.m.