Advertisement
venuv

MTurkR Sample

Dec 15th, 2014
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. -- MTurkR code --
  2. > credentials(c("<from AWS>","<from AWS>"))
  3. > AccountBalance()
  4. Balance: $X.00
  5. >newHIT = CreateHIT(hitlayoutid="3YNXD5PU8V8KZWMHG1FI6PX1GP6X4C",sandbox=T,
  6. + title="foo",
  7. + description="bar",
  8. + reward=".05",
  9. + duration=seconds(hours=4),
  10. + expiration=seconds(days=7))
  11. HITType Registered: 3PS3UFWQYK3H94A2L7H9ZOACJ0FRYV
  12. HIT 3W5PY7V3UO6GLPJ7JA3KDHVS0T9YJ2 created
  13. > newHIT$HITId
  14. [1] "3W5PY7V3UO6GLPJ7JA3KDHVS0T9YJ2"
  15. > HITStatus(hit="3W5PY7V3UO6GLPJ7JA3KDHVS0T9YJ2")
  16. 0 HITs Retrieved
  17. NULL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement