powered by
Reads an Excel file of questions and returns a data frame.
read_question_excel(file, sheet_index = NULL, sheet_name = NULL)
A data frame.
A string, name of a text file.
A number, sheet index in the workbook.
A string, sheet name.
In addition to the file, we can indicate the sheet by its name or index. If we do not indicate anything, it considers the first sheet.
Other support functions: create_question_csv(), create_question_data_frame(), create_question_excel(), read_question_csv(), vector_to_string()
create_question_csv()
create_question_data_frame()
create_question_excel()
read_question_csv()
vector_to_string()
# \donttest{ file <- system.file("extdata", "questions.xlsx", package = "moodef") df <- read_question_excel(file = file) # }
Run the code above in your browser using DataLab