Liking cljdoc? Tell your friends :D

net-promoter-score.core


get-promoter-scoreclj

(get-promoter-score values)
(get-promoter-score values passive-minimum passive-maximum)

Takes a list of ratings from a NPS survey and provides the raw Net Promoter Score. If passive-minimum and passive-maximum are provided, those wil be used to configure calculations for bounding detractor/passive/promoter scores. Defaults are 6 and 9 for minimum and maximum.

Takes a list of ratings from a NPS survey and provides the raw Net Promoter Score. If passive-minimum and passive-maximum are
provided, those wil be used to configure calculations for bounding detractor/passive/promoter scores. Defaults are 6 and 9
for minimum and maximum.
sourceraw docstring

get-promoter-summaryclj

(get-promoter-summary values)
(get-promoter-summary values passive-minimum passive-maximum)

Takes a list of ratings from a NPS survey and provides a summary of those values, including the raw promoter score. If passive-minimum and passive-maximum are provided, those wil be used to configure calculations for bounding detractor/passive/promoter scores. Defaults are 6 and 9 for minimum and maximum.

Takes a list of ratings from a NPS survey and provides a summary of those values, including the raw promoter score.
If passive-minimum and passive-maximum are provided, those wil be used to configure calculations for bounding
detractor/passive/promoter scores. Defaults are 6 and 9 for minimum and maximum.
sourceraw docstring

get-promoter-summary-with-datesclj

(get-promoter-summary-with-dates values)
(get-promoter-summary-with-dates values anchor-date)
(get-promoter-summary-with-dates values
                                 passive-minimum
                                 passive-maximum
                                 anchor-date)

Takes a list of ratings from a NPS survey, including the dates those ratings were saved, then provides a summary of scores for all time, last 7 days, last 30 days, 30-60 day and 60-90 day windows. If passive-minimum and passive-maximum are provided, those wil be used to configure calculations for bounding detractor/passive/promoter scores. Defaults are 6 and 9 for minimum and maximum.

Takes a list of ratings from a NPS survey, including the dates those ratings were saved, then provides a summary of scores for
all time, last 7 days, last 30 days, 30-60 day and 60-90 day windows. If passive-minimum and passive-maximum are provided,
those wil be used to configure calculations for bounding detractor/passive/promoter scores. Defaults are 6 and 9 for minimum and maximum.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close