exams2kahoot {exams} | R Documentation |
Generation of Excel Sheets with Quiz Questions for Kahoot!
Description
Interface for generating Excel sheets with plain-text quiz questions for the Kahoot! game-based learning platform.
Usage
exams2kahoot(file, n = 1L, dir = ".", name = "kahootquiz",
quiet = TRUE, time = NULL, ...)
Arguments
file |
character. A specification of a (list of) exercise files. |
n |
integer. The number of copies to be compiled from |
dir |
character. The default is the current working directory. |
name |
character. A name prefix for resulting Excel sheets. |
quiet |
logical. Should output be suppressed when calling |
time |
numeric. Time limit (in seconds) allowed for answering the question in Kahoot!, must be one of 5, 10, 20, 30, 60, 90, 120, 240. If other numeric inputs are made, they are forced to the nearest admissable specification. Default: 60 seconds. |
... |
arguments passed on to |
Details
exams2kahoot
generates Excel sheets, requiring write.xlsx
from the openxlsx package, that can be imported to the Kahoot!
game-based learning platform. Only single-choice (schoice) and multiple-choice
(mchoice) questions are allowed with plain questions and answers
(using conversion via pandoc_convert
). Questions
and answers must not exceed 120 and 75 characters, respectively.
Value
A list of exams as generated by xexams
is
returned invisibly.
Examples
## Not run:
## create an .xlsx file for Kahoot! (requiring openxslx) based
## on three simple text-based single-choice and multiple-choice questions
exams2kahoot(c("capitals", "swisscapital", "switzerland"))
## End(Not run)