Translate Markua questions for submission to Google API
Source:R/ottrpal-translate.R
translate_questions_api.Rd
Takes a Markua formatted quiz and translates it to something that can be sent to Google Forms API.
Arguments
- quiz_path
The file path to a Markua formatted quiz to be translated to Google Forms API format
- output_path
Optional file path to save the formatted data to a JSON file
Value
A list of the output from [ottrpal::check_question] with messages/warnings regarding each question and each check.
Examples
if (FALSE) {
# Using quiz example
quiz_path <- markdown_quiz_path()
parsed_questions <- translate_questions_api(quiz_path)
}