Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Public statistics - Special use case.

  • linuxhooligan
  • linuxhooligan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #255926 by linuxhooligan
Public statistics - Special use case. was created by linuxhooligan
Please help us help you and fill where relevant
Your LimeSurvey version:
Version 5.6.47+231128 
Own server or LimeSurvey hosting: Self hosted VPS
Survey theme/template: Customized version of Fruity
==================

1) Usecase - We are interested in developing a survey that at the end of the questionnaire gives the user their results relative to the average of ALL OF THE PREVIOUS USERS that took the questionnaire.  So, for example, if 100 users have taken the survey and the average score is 23 and the 101st users takes the score and they get 50 we want to be able to do a calculation on that and tell them they are X% above the average.

2) I have read this page:  manual.limesurvey.org/Statistics

That page discusses statistics from the perspective of exporting the data for evaluation in other tools or it describes the Public Statistics feature that shows a survey summary to users which is not what we want.

3) Is it possible to access the data of all of the users that have completed a survey dynamically so that we can do some calculations and display a unique result?

Thanks.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 2 weeks ago #255927 by Joffm
Replied by Joffm on topic Public statistics - Special use case.
This should be possible with ExpressionScript and the functions "statCount", "statCountIf"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • linuxhooligan
  • linuxhooligan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 months 2 weeks ago #255928 by linuxhooligan
Replied by linuxhooligan on topic Public statistics - Special use case.
Oh, interesting. Okay let me look into that, thanks Joffm.

To the mods, can someone move this thread to "Can I do this with Limesuvery" category?

I selected the wrong category by accident.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 2 weeks ago #255929 by holch
Replied by holch on topic Public statistics - Special use case.
Moved to "Can I do this with Limesuvery" as requested by OP.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
2 months 2 weeks ago #255934 by Verale
Replied by Verale on topic Public statistics - Special use case.
You might need to dig into scripting or consider external tools/APIs for dynamic data access and calculations.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose