Welcome to the LimeSurvey Community Forum

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

LimeSurvey as Voting advice application?

More
4 years 5 months ago #212755 by empisoz
=13.0ptHi,=13.0ptI’d like to use Limesurvey as a Voting Advice Application. To this end, respondents‘ answer reactions (typcially measured as „yes“, „maybe“ or „no“answers) to a set of policy statements need to be compared to a set of pre-existing scores which represent the party positions. The comparison itself would be calculated as the percentage agreement between the individual respondent’s answers to the policy statements and the pre-existing scores of the different parties. Thus, I am wondering if and how respondents‘ answer patterns can be compared with some external scores?=13.0ptBest,=13.0ptE.
The topic has been locked.
More
4 years 5 months ago #212757 by Joffm
It's possible.
Use Expression Manager.
But it's your challenge to create an algorithm to decide if and to what amount the position of the party matches the answer of the respondent.

I found an example here
[url] www.wahlomath.de/index.php [/url]

with an easy to understand logic.
As you see there are many,many steps. You will need a lot of equations.

A better way - in my opinion - is to link to an external php script (end-url) where you do all the calculations and fispkay the result.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
4 years 5 months ago #212764 by Joffm
With that amount of equations you have to consider the column limitations of MySQL.

By the way:
In your text I see these "=13Opt".
What is this?
Did you copy the text; would also explain the missing linefeeds.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
4 years 5 months ago #212768 by tpartner

A better way - in my opinion - is to link to an external php script (end-url) where you do all the calculations and fispkay the result.

Yes or AJAX calls.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose