Learn R Programming

rgoogleclassroom (version 1.0.0)

translate_questions_api: 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)

Value

A list of the output from check_question with messages/warnings regarding each question and each check.

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

Examples

Run this code
if (FALSE) {

# Using quiz example

quiz_path <- markdown_quiz_path()
parsed_questions <- translate_questions_api(quiz_path)
}

Run the code above in your browser using DataLab