Companion Application for the 'surveydown' Survey Platform

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.


sdstudio

CRANstatus metacrandownloads GitHubstars

sdstudio is a companion package for building, previewing, and managing surveys built using the surveydown survey platform through a Graphical User Interface (GUI). The studio runs as a local Shiny web app and makes it easier to create, preview, and manage surveys without extensive programming knowledge.

Intro Video

Installation

Installing sdstudio:

# Option 1: install from CRAN
install.packages("sdstudio")

# Option 2: install from GitHub
pak::pak("surveydown-dev/sdstudio", ask = FALSE)

Make sure to install surveydown as well:

# Option 1: install from CRAN
install.packages("surveydown")

# Option 2: install from GitHub
pak::pak("surveydown-dev/surveydown", ask = FALSE)

Launch

Simply call the launch() function to start the studio:

sdstudio::launch()

Features

๐Ÿ—๏ธ Build Tab - Visual Survey Creation

  • Drag-and-drop interface for intuitive survey construction
  • 16 survey templates covering basic to advanced use cases
  • Dual-pane editor with visual builder and code editor
  • Real-time synchronization between visual interface and underlying code
  • Undo/redo functionality for all editing operations
  • Local/DB mode switching for local testing and database connection workflows

๐Ÿ‘๏ธ Preview Tab - Live Survey Testing

  • Real-time preview of your survey as you build
  • Responsive preview modes: Desktop (widescreen) and Mobile (375px) views

๐Ÿ“Š Responses Tab - Data Management & Analytics

  • Real-time analytics dashboard showing summaries of responses and local interactive data table
  • PostgreSQL database integration with connection pooling
  • GSSAPI encryption support with automatic fallback options
  • CSV export functionality for data analysis

Templates

We currently have 16 templates to choose from. The default template contains a minimum basic structure for a clean start. You might also try the question_type template for a showcase of all question types, or try some advanced features with conditional_display, conditional_navigation, etc. For a full list of templates, go to the surveydown-dev GitHub site and search for any repo starting with โ€œtemplate_โ€.

Database Configuration

The studio supports flexible database connection modes:

# Auto mode (recommended) - tries GSSAPI first, falls back if needed
launch()

# Prefer mode - uses GSSAPI if available, plain connection if not  
launch(gssencmode = "prefer")

# Disable mode - forces plain connection (useful for VPN environments)
launch(gssencmode = "disable")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sdstudio")

0.2.0 by Pingfan Hu, 8 months ago


https://sdstudio.surveydown.org


Report a bug at https://github.com/surveydown-dev/sdstudio/issues


Browse source code at https://github.com/cran/sdstudio


Authors: Pingfan Hu [aut, cre, cph] (ORCID: , John Paul Helveston [aut, cph] (ORCID: , Bogdan Bunea [aut, cph] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports bslib, DBI, dotenv, DT, htmltools, later, pool, RPostgres, shiny, shinyAce, surveydown

Suggests testthat


See at CRAN