ropensci / qualtRics

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

Filter surveys before exporting with all_surveys()? Slow run time with many surveys. #254

Closed manonironside closed 2 years ago

manonironside commented 2 years ago

Is there any way to filter which surveys are exported before the fetch_survey() command? I find that all_surveys() takes a relatively long time to run when exporting from an account that contains many surveys, and this seems inefficient when I only need to use a few surveys.

juliasilge commented 2 years ago

I am guessing that you already understand that you can get the survey ID in different ways, such as from the web interface to Qualtrics. You don't need to use all_surveys() if you know the IDs (like SV_3gtKaK8G1Zxxxxx).

If you specifically are asking about getting these IDs from R only, that uses the /surveys endpoint. If I am reading that API documentation correctly, there's no real filtering ability, for example to find surveys with certain titles or anything like that.

manonironside commented 2 years ago

Ahh, yes - thanks for clarifying! I thought I had been getting an error with fetch_survey() when all_surveys() was not run first, but this is actually not the case.