Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 764 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 764 Bytes

mcq R package

Process and score multiple choice questions

Installation

remotes::install_github("awellis/mcq")

Usage

Load packges:

library(tidyverse)
library(mcq)

Read in exam results and answers from Excel spreadsheet:

results <- readxl::read_excel("Ergebnisse.xlsx",
                              sheet = "Antworten") %>%
    select(Matrikel, StudisID, Nachname, Vorname, Serie,
           starts_with("A_"), starts_with("K_"))

 

answers <- readxl::read_excel("Ergebnisse.xlsx",
                              sheet = "Loesung") %>%
    select(Serie, starts_with("A_"), starts_with("K_"))

Combine A and K' question results:

exam_results <- score_exams(results = results, answers = answers)