Function reference
Create
Import data from outside sources and generate .Rmd files, or create empty .Rmd files to be filled in by you.
-
create_rmd() - Start a new .Rmd file from a template.
-
google2rmd() - Import questions from Google Sheets.
-
xlsx2rmd() - Import questions from an Excel sheet.
-
csv2rmd() - Import questions from a csv file.
-
df2rmd() - Import questions from an R dataframe.
-
validate_df() - Check a dataframe for issues.
-
create_id() - Create a random id.
-
find_answer_columns() - Find all answer columns in a dataframe.
-
drop_sections() - Remove all sections from a pre-created QTI zip file.
-
build_question_df() - Build a dataframe for questions.
-
add_question() - Add a question to a dataframe.
-
add_string_question() - Add a string question to a dataframe.
-
add_from_pool() - Add a question from a pool of answers.
-
build_choices() - Choose correct and incorrect answers.
-
bulleted_list() - Form a bulleted list from strings.
-
find_questions() - Search for Rmds with certain metadata.
-
get_metadata() - Load a tibble of metadata.
-
start_logs() - Wrapper for
logr::log_open.
-
end_logs() - Wrapper for
logr::log_close.
-
img2txt() - Visualize images in logs.
-
exams2js() - Test your quiz in the browser.