Markdown-Based Surveys Using 'Quarto' and 'shiny'
Show the Saved Survey Password
Add a Page Template to the Current Document
Add a Question Template to the Current Document
Create a 'Close' Button to Exit the Survey
Generate a Random Completion Code
Create a copy of a value
Create a new survey template
Create a translations template file
Connect to a 'PostgreSQL' Database with Automatic Cleanup
Create a placeholder for a reactive survey question
Display the value of a survey question
Fetch data from a database table with automatic reactivity detection
Get URL Parameters in a 'shiny' Application
Include a folder to the 'shiny' resource path
Check if a question is answered
Create a 'Next' Button for Page Navigation
Output Function for Displaying reactive objects and values
Create a Custom Question with a Shiny Widget
Create a survey question
Create a Redirect Element for 'shiny' Applications
Server logic for a surveydown survey
Set password for surveydown survey
Required Set Up Function
Define show conditions for survey questions
Define skip conditions for survey pages
Store a value in the survey data
Create the UI for a surveydown survey
Check Surveydown Version
Generate surveys using markdown and R code chunks. Surveys are composed of two files: a survey.qmd 'Quarto' file defining the survey content (pages, questions, etc), and an app.R file defining a 'shiny' app with global settings (libraries, database configuration, etc.) and server configuration options (e.g., conditional skipping / display, etc.). Survey data collected from respondents is stored in a 'PostgreSQL' database. Features include controls for conditional skip logic (skip to a page based on an answer to a question), conditional display logic (display a question based on an answer to a question), a customizable progress bar, and a wide variety of question types, including multiple choice (single choice and multiple choices), select, text, numeric, multiple choice buttons, text area, and dates. Because the surveys render into a 'shiny' app, designers can also leverage the reactive capabilities of 'shiny' to create dynamic and interactive surveys.