make_split_results_tables: Generate Results Tables Reports Split (or Grouped By) their...

Description Usage Arguments

View source: R/helper_functions.R

Description

The make_split_results_table function works by constructing and inserting an additional column into the responses data frame from which the responses are split. Once the responses are split, they are inserted into distinct lists of blocks (one list for each split group of responses) and then results tables reports are rendered from these split blocks. The function renders these reports by looping over the list of split blocks, naming each report according to its split respondent group, and saving each file to the specified output_dir. At the simplest level, this function is about running get_setup, create_merged_response_column, split_respondents, and html_2_pandoc in the right way to produce split reports.

Usage

1
2
make_split_results_tables(qsf_path, csv_path, output_dir, split_by,
  headerrows = 3)

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.

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.

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.