Load RAT questions and answer key from Excel. Note that logical columns ('correct' and 'include') are evaluated to TRUE if they are =1, =TRUE, ='TRUE', ='yes' or ='x', everything else is FALSE. Uses tbl_create_RAT_from_data_frame internally.
tbl_create_RAT_from_excel(
filepath,
questions_tab = "questions",
key_tab = "key",
filter_include = TRUE,
fill_down_questions = TRUE
)
the path to the excel file
the name of the questions tab (requires at minimum columns 'question', 'answer', and logical TRUE/FALSE 'correct', plus logical 'include' if filter_include=TRUE
)
the name of th keys tab (requires at mimimum columns 'number', 'option')
if set, only keeps questions that have the 'include' column set
whether to fill down the questions column (i.e. if question an their parameters are only written in first row)