split_responses: Split a responses table into semantically distinct parts.

View source: R/process_responses.R

split_responsesR Documentation

Split a responses table into semantically distinct parts.

Description

The resulting responses table can be quite large and is filled with many different types of responses. Pass the responses table to split_responses() to break the data into three distinct components: pre- and post-course surveys, end-of-chapter quizzes, and in-text questions.

Usage

split_responses(responses)

Arguments

responses

A responses data frame (processed or not) from a CourseKata class.

Value

A list of tibble objects with three elements:

  1. surveys, for all responses from the course pre- and post-course surveys;

  2. quizzes, for all responses from practice quizzes in the course; and

  3. in_text, for all other items that appear in the textbook.


UCLATALL/CourseKataData documentation built on Dec. 4, 2023, 2:25 a.m.