clean_qualtrics_export: Clean Qualtrics Response Data

Description Usage Arguments Value Examples

View source: R/clean_qualtrics_export.R

Description

clean_qualtrics_tsv removes artifacts that are embedded in the raw data exports from Qualtrics.

Usage

1
2
3
4
5
6
clean_qualtrics_export(
  path,
  filename = "qualtrics.tsv",
  qualtrics_tag = "_Q10",
  remove_participant_code = TRUE
)

Arguments

path

A path to data directories for project.

filename

The name of the exported file from Qualtrics. Note: the file must be a TSV, and the export options must prepare values as numeric that were specially coded in the study.

qualtrics_tag

A string literal matching the qualtrics tag that was assigned to naming by Qualtrics that should be removed for analysis. Defaults to "_Q10".

remove_participant_code

A boolean to remove the MTurk-created participantCode. Useful if wanting to obfuscate participants. Defaults to TRUE, but change to FALSE if needing to reference raw codes in analysis.

Value

Success message with reference to the path cleaned blocks were saved to.

Examples

1
clean_qualtrics_export(path, filename)

sokolhessnerlab/shlab.imgct documentation built on Oct. 4, 2020, 7:31 a.m.