cloudyr / pyMTurkR

A Client for the MTurk Requester API
15 stars 8 forks source link

The order of elements in "Bonuses" #8

Closed ErikOSorensen closed 4 years ago

ErikOSorensen commented 4 years ago

Thank you for your work on making boto3 available for use in R!

I discovered that the GrantBonus function returns a dataframe of bonuses, but the variable names and contents of amounts and assignment ids were switched around. I think the assignment in line 161 is inconsistent with the definition of the data frame in line 134.

This isn't much of a problem when the bonus payments go through as they should, but if for some reason the bonus payments do not go through, looking at the bonuses dataframe one might suspect that there was a problem in the library and not with the AWS setup.

Best regards, Erik

tylerburleigh commented 4 years ago

Thanks @ErikOSorensen