Forum: support

Monitor Forum | Start New Thread Start New Thread
RE: inserting ID inside exams [ reply ]
By: Achim Zeileis on 2016-12-14 22:56

you are right, this is poorly documented. We have an example that shows what needs to be done but this is somewhat hidden on page 10-11 of vignette("exams", package = "exams"). If you want the header information to contain the ID, you need to set this up via

getID <- function(i) gsub(" ", "0", format(i, width = 5))
exams2pdf(..., template = c("exam", "solution"),
header = list(ID = getID, Date = Sys.Date()))

If you have only single-choice and multiple-choice answers, then also look at the exams2nops() function. This automatically takes care of the ID, offers automatic scanning and evaluation, and is also available in Spanish.

inserting ID inside exams [ reply ]
By: Francisco Goerlich on 2016-12-14 15:13
When I use exams2pdf() the ID is always set to 1, but the names increase the index automathically. May I include this index in the pdf itself: ID001, ID002, ID003,...
Otherwise, once the exams are distributed I donĀ“t know which solution correspond to each exam.
Many thanks in advance,

Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge