View source: R/sussex_boilerplate.R
sussex.boilerplate | R Documentation |
Produces a title page and yaml front matter text to be used in make.paper()
.
sussex.boilerplate( module, module_code, exam_diet, time_allowed, n_sections, marks_per_q, section_weights = NULL, sample = F )
module |
@param module_code |
exam_diet |
|
time_allowed |
|
n_sections |
|
marks_per_q |
|
section_weights |
|
sample |
|
question_files |
|
Function returns a data.frame
with following columns:
title_page
Text of the title page
yaml
YAML front matter
Week, and difficulty are extracted from the question tag, e.g. 02S for week 2, simple. See example_items.Rmd in package folder for the correct markdown.
boiler <- sussex.boilerplate(module = "Analysing Data", module_code = "C8891", exam_diet = "BSc FIRST YEAR EXAMINATION May/June 2020 (A2)", time_allowed = "2 hours", n_sections = 1, marks_per_q = 2, section_weights = NULL, sample = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.