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.
1 2 | make_text_appendices(qsf_path, csv_path, headerrows, output_dir,
filename = "Text Appendices.docx")
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.