20.4 Example: shinysurveys

shinysurveys provides easy-to-use, minimalistic code for creating and deploying surveys in Shiny.

20.4.1 Installation

You can install {shinysurveys} via CRAN or GitHub and load it as follows:

# Install released version from CRAN
install.packages("shinysurveys")

# Or, install the development version from GitHub
remotes::install_github("jdtrat/shinysurveys")

# Load package
library(shinysurveys)

20.4.2 Demo

A survey made with shinysurveys package might look like this:

You can run a demo survey with the function shinysurveys::demo_survey().

20.4.3 Let’s take a look!

  • Live walk-through of creating an app with shinysurveys, how everything is packaged together, and more!