translate_questions_api: Translate Markua questions for submission to Google API

View source: R/ottrpal-translate.R

translate_questions_apiR 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 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)


rgoogleclassroom documentation built on April 4, 2025, 1:17 a.m.