aigra_write_admin_html: Write an AIGRA administration HTML file

View source: R/aigra-admin-html.R

aigra_write_admin_htmlR Documentation

Write an AIGRA administration HTML file

Description

Creates a print-ready HTML file containing generated item stems, diagrams, response options, and an answer key.

Usage

aigra_write_admin_html(
  result,
  file = NULL,
  title = "AIGRA Generated Assessment Items",
  include_key = TRUE,
  include_metadata = FALSE,
  only_accepted = TRUE
)

Arguments

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.

Value

Path to the HTML file.


AIGRA documentation built on July 10, 2026, 5:06 p.m.