View source: R/ottrpal-translate.R
translate_questions_api | R Documentation |
Takes a Markua formatted quiz and translates it to something that can be sent to Google Forms API.
translate_questions_api(quiz_path, output_path = NULL)
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 |
A list of the output from check_question with messages/warnings regarding each question and each check.
## Not run:
# Using quiz example
quiz_path <- markdown_quiz_path()
parsed_questions <- translate_questions_api(quiz_path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.