Skip to contents

A point-and-click front end with three tabs. Run a focus group starts a fresh moderated session live from a topic and a handful of participants, shows the transcript, and offers it as a downloadable .rds. Analyze loads a transcript and reads its participation and word statistics offline. The continuation experiment takes a saved focus group up to a turn, perturbs an earlier turn, and generates the next turn under the original and perturbed histories, so the downstream turn can be compared as a dependent variable. Running and the continuation experiment generate text and need an API key; analysis works offline.

Usage

run_focus_studio(...)

Arguments

...

Passed to shiny::runApp().

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; install them first. Keys are read from environment variables only, never pasted into the app.

Examples

if (interactive() &&
    all(vapply(c("shiny", "bslib", "DT", "LLMR.shiny"),
               requireNamespace, logical(1), quietly = TRUE))) {
  run_focus_studio()
}