Description Usage Arguments Details Value Examples
Simplifies the calculation of Net Promoter Score (NPS) from raw survey data within the tidyverse framework.
1 |
survey_data |
Raw survey data. Needs to be one row per survey with the nps question in a numeric column called nps_question |
... |
Optional columns by which to group the nps calculation. There is no limit to the number of grouping variables chosen. Too many will likely result in nps calculations that are too fragmented / based on very small survey counts. |
Net Promoter Score was originally developed by Fred Reichheld and now is owned by Bain Company and Satmetrix Systems. According to Wikipedia it "is a management tool that can be used to gauge the loyalty of a firm's customer relationships."
Data frame with nps and survey count for each combination of the grouping variables
1 2 3 4 5 |
# A tibble: 4 x 3
nps_group nps survey_count
<chr> <dbl> <dbl>
1 a -12 25
2 b -40 25
3 c -28. 25
4 d -32 25
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.