Package 'sdstudio'

Title: Companion Application for the 'surveydown' Survey Platform
Description: Companion package that supports the 'surveydown' survey platform (<https://surveydown.org>). The default method for working with a 'surveydown' survey is to edit the plain text 'survey.qmd' and 'app.R' files. With 'sdstudio', you can create, preview and manage surveys with a 'shiny' application as a graphical user interface.
Authors: Pingfan Hu [aut, cre, cph] , John Paul Helveston [aut, cph] , Bogdan Bunea [aut, cph]
Maintainer: Pingfan Hu <[email protected]>
License: MIT + file LICENSE
Version: 0.2.0
Built: 2026-05-10 09:21:40 UTC
Source: https://github.com/surveydown-dev/sdstudio

Help Index


Launch surveydown Studio

Description

This function launches a Shiny app with 3 tabs: Build, Preview, and Responses. The Build tab includes a template selection interface for creating new surveys.

Usage

launch(gssencmode = "auto")

Arguments

gssencmode

Character string. The GSS encryption mode for the database connection. Defaults to "auto". Options include:

  • "auto": Tries "prefer" first, then falls back to "disable" if GSSAPI fails (recommended)

  • "prefer": Uses GSSAPI encryption if available, plain connection if not

  • "disable": Forces plain connection without GSSAPI encryption

Value

No return value, called for its side effects of launching a Shiny app.

Examples

if (interactive()) {
  # Launch studio (uses "auto" mode by default)
  launch()

  # Launch studio with disabled GSS encryption (for VPN connections)
  launch(gssencmode = "disable")

  # Launch studio with prefer mode (no fallback)
  launch(gssencmode = "prefer")
}