launch_screening_app: Launch the interactive screening Shiny app

View source: R/shiny.R

launch_screening_appR Documentation

Launch the interactive screening Shiny app

Description

Opens a browser-based UI that walks the reviewer through the records at or above the SAFE stop point. Each record is presented with title, abstract, LLM ensemble score, and the per-criterion justifications. Decisions are appended to out_file after every click so that a browser crash never loses more than one decision.

Usage

launch_screening_app(
  plan,
  ranked,
  out_file = file.path(tempdir(), "screening_decisions.csv"),
  launch_browser = interactive()
)

Arguments

plan

A screenllm_plan object.

ranked

The full ranking (needed for the per-criterion justifications).

out_file

Path where decisions are written (.csv or .xlsx). Defaults to a file in the session's temporary directory; pass an explicit path to keep the decisions after the session ends.

launch_browser

Passed to shiny::runApp().

Value

Invisibly, the path to out_file.


screenllm documentation built on Sept. 24, 2026, 5:11 p.m.