Learn R Programming

surveydown (version 0.10.1)

sd_dashboard: Launch Survey Dashboard

Description

This function creates a comprehensive dashboard for survey data analysis with two main tabs:

  • Dashboard: Displays survey statistics, response trends, and a full response data table

  • Settings: Provides interface for updating database connection settings

Usage

sd_dashboard(gssencmode = "prefer")

Value

Launches a Shiny application with the survey dashboard. The function does not return a value; it is called for its side effects of opening the dashboard interface.

Arguments

gssencmode

Character string. The GSS encryption mode for the database connection. Defaults to "prefer". Set to "disable" if you're having connection issues on a secure connection like a VPN.

Details

Opens an interactive dashboard to view and analyze survey responses using a Shiny dashboard interface.

The dashboard offers the following features:

  • Summary value boxes showing total responses, daily average, completion rate, and average rating

  • Response trend plot with daily and cumulative responses

  • Downloadable survey responses data table

  • Database connection configuration and testing

Examples

Run this code
if (FALSE) {
# Launch the survey dashboard with default settings
sd_dashboard()

# Launch with disabled GSS encryption (for VPN connections)
sd_dashboard(gssencmode = "disable")
}

Run the code above in your browser using DataLab