View source: R/question_bank.R
question.bank | R Documentation |
Produces a data frame that can be used as first argument to make.paper()
.
question.bank(question_files, authors)
question_files |
|
authors |
|
Function returns a data.frame
with following columns:
q_num
Original item number in the Rmd file
week
Week of course/module the item pertains to
diff
Difficulty (Simple, Easy, Medium, Hard)
author
Author of the item
stem
Stem/lead-in
opts
Response options
correct
Correct answer
group
If item is a part of a group tht share a group stem, ID number identifying all items from the same group
group_stem
Stem shared by a group of items.
Week, and difficulty are extracted from the question tag, e.g. 02S for week 2, simple. See mcq_example.Rmd in package folder for the correct markdown.
question.bank("exam/and_qu_MV.Rmd", "MV")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.