make_text_appendices: Export a file containing the text appendices

Description Usage Arguments

View source: R/helper_functions.R

Description

make_text_appendices uses get_setup and html_2_pandoc to process a survey and then save its results into a file. If the qsf_path, and csv_path are included as parameters, then they will be passed to get_setup along with a return_data_as_list=TRUE parameter in order to return the survey, responses, questions, blocks, original_first_rows, and flow as variables local to the function scope. If they are not passed, they will be retrieved as needed from the global scope. The function then uses the blocks, original_first_rows, and flow with html_2_pandoc to produce the desired output file.

Usage

1
2
make_text_appendices(qsf_path, csv_path, headerrows, output_dir,
  filename = "Text Appendices.docx")

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.

headerrows

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

output_dir

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

filename

specifies the name of the output file.


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