read_scan_results: Read Scan Results

Description Usage Arguments Details Value Author(s) Examples

View source: R/read_scan_results.R

Description

Reads and formats the scan results of running FormScan on the answer sheets

Usage

1
read_scan_results(file, id_nr="student_number", groups=c("group001", "group002", "group003"))

Arguments

file

character, the path/filename of the csv file containing the scan results

id_nr

character, group variable indicating the file-id (i.e., students number), defaults to "student_number"

groups

named list indicating the possible responses defaults to c("group001", "group002", "group003")

Details

The...

Value

a data.frame/tibble

Author(s)

Ulrich Matter <umatter@protonmail.com>

Examples

1
2
3
myfile <- system.file("inst/exdata/example_scan_results.csv", package="examr")
my_results <- read_scan_results(myfile)
head(my_results)

umatter/examr documentation built on Oct. 25, 2020, 8:12 a.m.