Description Usage Arguments Details Value Author(s) Examples
View source: R/read_questions.R
Reads an excel sheet with exam question of different types (T/F, MC, etc.)
Reads an excel sheet with exam question of different types (T/F, MC, etc.)
1 2 3 |
file |
character, the path/filename of the excel-sheet containing the questions to be read |
year |
character vector indicating from which years questions should be selected, if empty (NULL) questions from all years are selected. |
mock |
logical, if TRUE, only mock exam questions are selected (FALSE by default) |
topic |
character vector, indicating which question topics should be selected ('topic' column), defaults to NULL |
The...
The...
a list
a list
Ulrich Matter <umatter@protonmail.com>
Ulrich Matter <umatter@protonmail.com>
1 2 3 4 5 6 | myfile <- "inst/exdata/exam_questions.xlsx"
my_questions <- read_questions(myfile)
head(my_questions)
myfile <- "inst/exdata/exam_questions.xlsx"
my_questions <- read_questions(my_file)
head(my_questions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.