studentSummary: Creates an Advanced Format text file from csv.

Description Usage Arguments Details Value Author(s) Examples

View source: R/studentSummary.R

Description

This function will summarize student scores from Qualtrics data.

Usage

1
studentSummary(studentData)

Arguments

completeSurveyDataFrame

The complete data frame containing the survey. Can be created as a data frame or read in from a file. Should contain variables called "question" (contains the question text), "responseOptions" ( contains the response option for each question, separated by some delimiter), and optionally "id" (the ID used in Qualtrics).

Details

Provides summary stats for individual students.

Value

This function returns a data frame of student scores.

Author(s)

Seth Berry

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
questions = data.frame(question = c("I enjoy coding.",
                                    "To what extent do you hate or love R?", "Done?"),
                       responseOptions = c("No;Yes", 
                                           "Strongly hate;Hate;Neither;Love;Strongly love", 
                                           "No;Maybe;Yes"),
                       id = c("enjoyCode", "hateLoveR", "done"), 
                       stringsAsFactors = FALSE)


studentSummary(completeSurveyDataFrame = questions, roSeparator = ";", 
             pageBreakEvery = 2)

## End(Not run)

saberry/qualtricsR documentation built on Aug. 21, 2020, 5:55 p.m.