A point-and-click front end for the three LLMRcontent workflows: coding (codebook, sealed gold set, protocol tuning, locked validation, corpus coding, gold correction), measurement-robustness audits, and replication archives, each as a tab. The app wraps the package API rather than reimplementing it: the package defines behavior, the GUI defines presentation.
Arguments
- ...
Passed to
shiny::runApp()(e.g.port,launch.browser).
Value
Invisibly, the value of shiny::runApp(); called for the side effect
of starting the app.
Details
The GUI is optional. It needs the suggested packages shiny, bslib, DT, and
LLMR.shiny (>= 0.1.3). Install them with
install.packages(c("shiny", "bslib", "DT", "LLMR.shiny")).
Install ggplot2 to draw the optional figures.
Live runs read provider API keys from environment variables only, never
pasted into the app; a deterministic demo mode runs offline.
Examples
if (interactive() &&
all(vapply(c("shiny", "bslib", "DT", "LLMR.shiny"),
requireNamespace, logical(1), quietly = TRUE))) {
run_content_studio()
}