View source: R/helper_functions.R
Using 'get_setup', 'directory_get_coded_comment_sheets', 'format_coded_comment_sheets', 'insert_coded_comments', and 'html_2_pandoc', this function renders text appendices with coded comments included from CSV or XLSX files from the specified 'sheets_dir' parameter.
1 2 | make_coded_comments(qsf_path, csv_path, headerrows, sheets_dir, output_dir,
filename = "Text Appendices with Coded Comments.docx", n_threshold = 15)
|
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. |
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. |
filename |
specifies the name of the output file. |
n_threshold |
is the number of verbatim comments which must appear before an appendix of coded comments will be included. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.