| launch_builder | R Documentation |
Opens the SurveyBuilder, a self-contained HTML application for visual survey
design. The builder runs client-side without an R session or Shiny server.
Save instruments as .sframe files from the browser and load them into R
with read_sframe().
launch_builder(open = TRUE)
open |
Logical. When |
The builder includes a three-mode interface.
An item editor with a persistent inspector panel, drag-to-reorder, undo/redo, and autosave to browser localStorage.
A full live render of the survey showing welcome, body, and thank-you pages.
A role-based analysis planner with method-specific options, planned outputs, reporting references, and decision rules.
The builder includes a pure-JavaScript SHA-256 fallback for browsers or
security policies where crypto.subtle is unavailable on file://
origins. Saved .sframe files can be loaded and validated with
read_sframe().
The path to the bundled builder HTML file, invisibly.
launch_studio(), read_sframe(), run_analysis_plan()
# Retrieve the builder path for inspection without opening the browser
path <- launch_builder(open = FALSE)
file.exists(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.