make_split_coded_comments: Split a Survey's Split Coded Comment Appendices

Description Usage Arguments

View source: R/helper_functions.R

Description

This question automates the entire process of splitting a survey's text appendices by specific response columns. The QSF and CSV file are passed as string arguments, the sheets_dir specifies where the coded comments excel or csv data is stored, and the output_dir specifies where the split coded comment appendices should be saved. The n_threshold specifies how many coded comments there must be before the coded comment appendices are included, and headerrows is an argument necessary to process the survey results correctly.

Usage

1
2
make_split_coded_comments(qsf_path, csv_path, sheets_dir, output_dir, split_by,
  n_threshold = 15, headerrows)

Arguments

qsf_path

(optional) is the string path location of the .qsf file to be processed.

csv_path

(optional) is the string path location of the .csv file to be processed.

sheets_dir

is the string path location of the directory which contains Excel documents with a "Coded" sheet formatted as specified on the wiki: https://github.com/ctesta01/QualtricsTools/wiki/Comment-Coding

output_dir

specifies the path of the directory to save the output file in.

split_by

is a list which specifies which columns should be used to split the respondents.

n_threshold

is the number of verbatim comments which must appear before an appendix of coded comments will be included.

headerrows

(optional) specifies the number of header rows in the CSV data.


ctesta01/qualtrics-R-package documentation built on May 14, 2019, 12:28 p.m.