ropensci / qualtRics

Download ⬇️ Qualtrics survey data directly into R!
https://docs.ropensci.org/qualtRics
Other
215 stars 70 forks source link

Fetching shared surveys #246

Closed JeffreyRStevens closed 2 years ago

JeffreyRStevens commented 2 years ago

When I try to fetch a survey owned by someone at another organization and shared with me, I receive an error (fetching surveys that I own are fine, so it shouldn't be a base URL problem).

> fetch_survey("SV_????????")
Error: Qualtrics API raised a bad request (400) error - Please report this on
https://github.com/ropensci/qualtRics/issues
Run `rlang::last_error()` to see where the error occurred.

Is it possible to fetch shared surveys? I saw a similar issue in #234 with a reference to shared surveys but did not see if/how @avi-kluger solved the issue.

juliasilge commented 2 years ago

From my understanding of the docs on collaboration and the Qualtrics API, you will need to use the other organization's base URL and an API key from the other organization to access any of their surveys via API. I don't believe you can use your organization's base URL or API key for this.

If you'd like to get some clarification on this or advice on how to proceed, I'd recommend posting on Qualtrics' API discussion section and also reach out to support.

JeffreyRStevens commented 2 years ago

Many thanks, @juliasilge. It looks like someone has asked this question in the API discussion section, but it hasn't been answered: https://community.qualtrics.com/XMcommunity/discussion/9671/access-responses-from-shared-survey.

juliasilge commented 2 years ago

Let us know if you have further questions! 🙌