Welcome to the LimeSurvey Community Forum

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

Generate completion code for Amazon Turk

  • clasp2019
  • clasp2019's Avatar Topic Author
  • Offline
  • New Member
  • New Member
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:

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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183490 by holch
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
  • clasp2019's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183494 by holch
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183495 by holch
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

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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183496 by holch
Replied by holch on topic Generate completion code for Amazon Turk

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
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #183542 by Joffm
Replied by Joffm on topic Generate completion code for Amazon Turk
Something more general:

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.
More
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
The following user(s) said Thank You: rakittam
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose