Skip to contents

Opens a Shiny application that lets users visually configure pipeline parameters (UF, years, system, aggregation), preview the generated code, and execute or export the RAP - all without writing R code directly.

Usage

sus_rap_gui(rap = NULL, launch.browser = TRUE, ...)

Arguments

rap

A rap_object (from sus_rap_read()) to pre-populate the interface. Pass NULL (default) to start from a blank template.

launch.browser

logical(1) - Open in the system browser. Default TRUE.

...

Additional arguments forwarded to shiny::runApp().

Value

Does not return; runs the Shiny application interactively.

Interface panels

Left

Parameter editors: UF checkboxes, year range slider, system dropdown, aggregation unit selector, language selector.

Center

Step-by-step pipeline card view showing each function and its arguments.

Right

Live log console. Buttons: Preview, Run, Export, Save Recipe.

Examples

if (FALSE) { # \dontrun{
sus_rap_gui()

rap <- sus_rap_read("pipeline_sp.R")
sus_rap_gui(rap)
} # }