lean_responses: Create Long and Lean Response Dictionary

Description Usage Arguments Value

View source: R/reorganizing_survey_data.R

Description

lean_responses() creates a data frame where each row corresponds to an individual response to the survey. Each response contains the respondents' id, the response column's name, the variable response, and the coded response.

Usage

1
lean_responses(question_blocks, survey_responses, include_text_entry = FALSE)

Arguments

question_blocks

A list of blocks, with questions inserted in place of the BlockElements representing them.

survey_responses

The responses to the survey, as imported by ask_for_csv()

include_text_entry

A parameter which defaults to FALSE indicating whether or not open ended text responses should be included in the dictionary of lean responses.

Value

a data frame with each row detailing an individual survey response.


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