Giter Club home page Giter Club logo

mturk_surveys's Introduction

Run Qualtrics surveys on MTurk with R

I have been running academic surveys on MTurk a couple of times, but find myself figuring out the same issues every single time. Therefore, here a record of how it can be done, with a couple of quality control steps added to the basic procedure. For now, these are primarily my own notes for future reference, but if anyone else finds them helpful, that'd be great.

Suggestions for how to do any of this better are very welcome - raising an Issue is probably easiest, but feel free to email me: [email protected]

Navigating this repo

This repo consists of four key files.

  • survey_setup.Rmd contains all the code that needs to be run once, to set everything up. It generates some MTurk 'entities' that need to be referenced later, their IDs should be added to parameters.R
  • survey_template.html is the HTML template used on mturk.com, which shows the survey link to workers and collects the survey code (generated on Qualtrics) from them - the code in survey_setup.Rmd customises the template, so that it does not need to be edited directly.
  • survey_run.R is a code that can be run continuously to manage data collection, while keeping each HIT to 9 respondents, in order to minimise MTurk fees.
  • Finally, process_submissions.Rmd contains some code to approve and reject survey submissions.

Quality assurance steps

MTurk gives access to a diverse pool of subjects, and enables quick data collection, but there can be issues with data management and quality.

  • Prevent duplicate submissions while running HITs of 9: MTurk charges double when more than 9 responses are requested to a HIT, therefore it makes sense to split up a survey into many HITs. However, that raises issues with duplicate responses. The approach here deals with that by assigning a qualification on MTurk after each batch of 9 is completed that prevents workers from participating in future batches.
  • Prevent submissions from duplicate IPs and false geo-locations - geo-location can be checked in Qualtrics, while duplicate IPs require an external webservice.

What else is needed?

  • Qualtrics (or other) survey that generates a unique survey code and displays it at the end for each respondent - see here for how to do this: Qualtrics support page
  • the pyMTurkR package, documented here. Note that it is actually a Python package wrapped into R, so the installation might take a few extra steps.

ToDo:

  • Add alternative survey_template_2.html that does not pass workerID to Qualtrics.

mturk_surveys's People

Contributors

lukaswallrich avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.