translate_questions_api {rgoogleclassroom} | R Documentation |
Translate Markua questions for submission to Google API
Description
Takes a Markua formatted quiz and translates it to something that can be sent to Google Forms API.
Usage
translate_questions_api(quiz_path, output_path = NULL)
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
## Not run:
# Using quiz example
quiz_path <- markdown_quiz_path()
parsed_questions <- translate_questions_api(quiz_path)
## End(Not run)
[Package rgoogleclassroom version 0.9.1 Index]