Creating a Basic Shiny Survey

Functions for creating a typical survey in Shiny.

surveyOutput()

Generate the UI Code for demographic questions

renderSurvey()

Server code for adding survey questions

Creating an Advanced Shiny Survey

Functions for stepping up your shiny survey game.

getSurveyData()

Get survey data

extendInputType()

Add Custom Input Types for a Survey

surveyID()

Add correct ID for custom input types

surveyLabel()

Add correct label for custom input types

surveyOptions()

Add options for custom input types

listInputExtensions()

List all registered survey extensions

hideSurvey()

Hide shinysurvey

Shinysurvey Inputs

radioMatrixInput()

Create a matrix of radio buttons.

numberInput()

Create a numeric input

Demo tools

Functions and data to help you get started with {shinysurveys}.

demo_survey()

Demo Survey

demo_survey_multipage()

Demo Survey over Multiple Pages

teaching_r_questions

A sample CSV file for demographic questions