View source: R/aigra-admin-html.R
| aigra_write_admin_html | R Documentation |
Creates a print-ready HTML file containing generated item stems, diagrams, response options, and an answer key.
aigra_write_admin_html(
result,
file = NULL,
title = "AIGRA Generated Assessment Items",
include_key = TRUE,
include_metadata = FALSE,
only_accepted = TRUE
)
result |
A data frame returned by AIGRA, preferably after diagram generation. |
file |
Output HTML file. If NULL, writes to backend outputs folder. |
title |
Title shown at the top of the paper. |
include_key |
If TRUE, include answer key at the end. |
include_metadata |
If TRUE, show topic, section, and difficulty. |
only_accepted |
If TRUE, include only rows with status ok or edited. |
Path to the HTML file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.