Description Usage Arguments See Also
Server-side function for CSAT element with title, gauge, and difference.
1 2 | csatWidget(input, output, session, ddat, pcol, title, color_cutoff,
minRange, maxRange, reversed, symbol = "%")
|
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
ddat |
dataframe, data filtered by desired variables (probably demographic or demographic and product). |
pcol |
numeric, number of the column in fdat containing data for gauge. |
title |
string, gauge's title. |
color_cutoff |
numeric, cutoff between different colours for the gauge. |
minRange |
numeric, gauge's minimum value. |
maxRange |
numeric, gauge's maximum value. |
reversed |
logical, denotes whether gauge colours should be reversed (ie. warning colour for high values, happy colour for low values). |
symbol |
string, a symbol to pass through to userFractionGauge(); \'\' / empty by default. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.