choice_text_from_response_column: Get the Choice Text from the First Row of the Responses

Description Usage Arguments Value

Description

This function uses the first row of the response data from Qualtrics to determine the choice text a response column corresponds to.

Usage

1
choice_text_from_response_column(response_column, original_first_row, blocks)

Arguments

response_column

The string name of a response column from the response set.

original_first_row

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.

blocks

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

Value

The choice text corresponding to a response column


ctesta01/QualtricsTools documentation built on May 14, 2019, 12:27 p.m.