mattroumaya / surveymonkey

Access your SurveyMonkey data directly from R!
https://mattroumaya.github.io/surveymonkey/
Other
42 stars 10 forks source link

A/B text or images don't appear in survey results #104

Open nathanielolin opened 2 years ago

nathanielolin commented 2 years ago

Manual exports contain the A/B text or A/B image randomly selected for an individual response, but parse_survey doesn't contain columns for any A/B test elements of a survey. (Please ignore the strange question titles in my toy survey 😅)

Manually exported to CSV:

Screen Shot 2022-05-12 at 4 37 39 PM

Pulled with surveymonkey::parse_survey:

Screen Shot 2022-05-12 at 4 36 10 PM

Edit: It looks like A/B question types do exist in the get_responses results, and the metadata does exist in the survey object created by fetch_survey_obj, so it drops out somewhere in parse_survey specifically, I think?

mattroumaya commented 2 years ago

@nathanielolin always love a Pokemon reprex! Unfortunately, I don't think A/B testing is supported in the current package, and I only have a free SurveyMonkey account after changing jobs in January, so I'm not able to recreate your example to investigate and add a feature.

I'd certainly welcome a PR if you have a potential fix. If you happen to have an open account with A/B question access that I could hop on to troubleshoot and then kick me out once resolved, I'm happy to do that too 🐵 (though I know that's unlikely)

nathanielolin commented 2 years ago

Thanks for the offer! As you suspect, I don't have an account I can give you access to. I'm writing a workaround for my current needs since you can still get the data into R using get_responses and I haven't looked at how parse_survey works yet. But if I have time afterwards I will try to write a PR.

mattroumaya commented 2 years ago

Tagging this as help wanted - if anyone has a premium SurveyMonkey account and wants to submit a PR, please feel free to do so!

alex-ober commented 1 year ago

Thanks for the offer! As you suspect, I don't have an account I can give you access to. I'm writing a workaround for my current needs since you can still get the data into R using get_responses and I haven't looked at how parse_survey works yet. But if I have time afterwards I will try to write a PR.

@nathanielolin Curious if you ever found a workaround for this? I'm having the same issue with pulling in image data myself.