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
sd_dashboard(gssencmode ="prefer")
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.
Returns
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.
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
## Not run:# Launch the survey dashboard with default settingssd_dashboard()# Launch with disabled GSS encryption (for VPN connections)sd_dashboard(gssencmode ="disable")## End(Not run)