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 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.
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)
Simply call the launch() function to start the studio:
sdstudio::launch()
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_โ.
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")