- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Generate completion code for Amazon Turk
- clasp2019
- Topic Author
- Offline
- New Member
Less
More
4 years 11 months ago #183478
by clasp2019
Generate completion code for Amazon Turk was created by clasp2019
Hi,
Sorry if this has been talked about before, I wasn't able to find it in the forum.
I want to create some surveys for workers from amazon turk to answer.
In amazon turk they suggest:
Is there an easy way to do this with LimeSurvey?
Maybe I can do so in the end message?
Can you put javascript code in there?
Not that I know a lot about web developing but I guess it would be a way to start looking into it...
Thanks a lot!
Carlos
Sorry if this has been talked about before, I wasn't able to find it in the forum.
I want to create some surveys for workers from amazon turk to answer.
In amazon turk they suggest:
Template note for Requesters - To verify that Workers actually complete your survey, require each Worker to enter a unique survey completion code to your HIT. Consult with your survey service provider on how to generate this code at the end of your survey.
Is there an easy way to do this with LimeSurvey?
Maybe I can do so in the end message?
Can you put javascript code in there?
Not that I know a lot about web developing but I guess it would be a way to start looking into it...
Thanks a lot!
Carlos
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
4 years 11 months ago #183490
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Generate completion code for Amazon Turk
How do the mechanical turk users get into your survey? Do you use tokens or do you just give them a link that can be accessed by anyone?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- clasp2019
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 11 months ago #183492
by clasp2019
Replied by clasp2019 on topic Generate completion code for Amazon Turk
I was planning to use a link that can be accessed by anyone.
Not sure what "tokens" are...
Is there any documentation about that I can look at?
Not sure what "tokens" are...
Is there any documentation about that I can look at?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
4 years 11 months ago #183494
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Generate completion code for Amazon Turk
There are ways to generate codes in Limesurvey. You can create a equation type question and then create a code with the digits generated randomly. Depending on the length of the code and the sample size of your survey, there is a certain risk that this code repeats. So I would incorporate into this code the SAVEDID of the response somehow. I remember that there was a forum post about how to create such a code a while ago. Have a search in the forum.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: clasp2019
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
4 years 11 months ago #183495
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Generate completion code for Amazon Turk
This seems to be also something might want to look at:
github.com/ianhussey/MTurk2Limesurvey
github.com/ianhussey/MTurk2Limesurvey
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: clasp2019
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
4 years 11 months ago #183496
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Generate completion code for Amazon Turk
Here a few links in the forum that might be helpful:
www.limesurvey.org/es/foro/can-i-do-this...end-message-question
www.limesurvey.org/forum/can-i-do-this-w...-of-survey-for-mturk
www.limesurvey.org/forum/can-i-do-this-w...-unique-pin-for-user
www.limesurvey.org/es/foro/can-i-do-this...end-message-question
www.limesurvey.org/forum/can-i-do-this-w...-of-survey-for-mturk
www.limesurvey.org/forum/can-i-do-this-w...-unique-pin-for-user
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: clasp2019
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3924
4 years 10 months ago #183542
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Generate completion code for Amazon Turk
Something more general:
You won't believe, but there is a manual. You find it here in the menu "Resources".
Especially manual.limesurvey.org/Survey_participants
Not sure what "tokens" are...
Is there any documentation about that I can look at?
You won't believe, but there is a manual. You find it here in the menu "Resources".
Especially manual.limesurvey.org/Survey_participants
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- MAhama
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 1
4 years 1 month ago #194029
by MAhama
Replied by MAhama on topic Generate completion code for Amazon Turk
Hello All, thanks for your help.
I read most of the forum entries and I came up with a solution for a situation where the survey is public (no participant list) and you want to use it with MTurk (you need a unique 6 digit code at the end for each pariticipant). I am planning on having 200 assignments/workers for my survey.
I would appreciate if you could give your comments to my solution, maybe there is an error I do not see.
I use the question type "equation", give it the name PIN, and hide it.
The code I post in the question section is the following:
{rand(100, 999)}{if(strlen(SAVEDID) < 3, 0, '')}{if(strlen(SAVEDID) < 2, 0, '')}{SAVEDID}
This allows for a participant ID up to 3 digits but puts a random 3 digit number in the front.
Thanks for your comments.
Best,
Max
I read most of the forum entries and I came up with a solution for a situation where the survey is public (no participant list) and you want to use it with MTurk (you need a unique 6 digit code at the end for each pariticipant). I am planning on having 200 assignments/workers for my survey.
I would appreciate if you could give your comments to my solution, maybe there is an error I do not see.
I use the question type "equation", give it the name PIN, and hide it.
The code I post in the question section is the following:
{rand(100, 999)}{if(strlen(SAVEDID) < 3, 0, '')}{if(strlen(SAVEDID) < 2, 0, '')}{SAVEDID}
This allows for a participant ID up to 3 digits but puts a random 3 digit number in the front.
Thanks for your comments.
Best,
Max
The following user(s) said Thank You: rakittam
The topic has been locked.