insert_coded_comments: Insert Coded Comments into Blocks

Description Usage Arguments

View source: R/comment_coding.R

Description

This takes a list of pairs of question IDs and coded comments tables and finds their corresponding question based on the question ID in a list of blocks and then inserts the coded comments table into the question. The returned list is a list of blocks where the questions have had their coded comments inserted.

Usage

1
insert_coded_comments(blocks, original_first_rows, coded_comments)

Arguments

blocks

A list of the survey blocks, with the questions included in them.

original_first_rows

A dataframe contianing the header information for each column of response data. This dataframe should include a row for the DataExportTag based response column names, another for the Question Text stem and choice text (although truncated), and a row with QID based column names.

coded_comments

A list of pairs (varname, coded_table) where varname corresponds to the response column name of the comments coded and coded_table summarizes the frequencies of the provided coded comments.


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