ropensci / qualtRics

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

Lag time? Doesn't seem to be updating? #16

Closed ghost closed 7 years ago

ghost commented 7 years ago

R newbie here.

Made changes to the survey in Qualtrics, changes not observed when I run the script in R. Is there a lag between making updates in Qualtrics and downloading the data using this package?

JasperHG90 commented 7 years ago

There is in the development version on GitHub. Surveys are stored in the R temporary directory. In version <=0.3 this isn't the case. Could you try restarting your R session? If the problem is due to qualtRics, a fresh download of your survey should reflect the changes you made.

ghost commented 7 years ago

I was able to install the development version from GitHub and have restarted the session a few times now and still the same problem. I also tried changing the directory to my desktop, changed the API key in Qualtrics and updated in R, and I'm still having the same issue.

Also, thanks for your responsiveness, you're awesome!

JasperHG90 commented 7 years ago

I've been trying this on some of my own surveys, and it seems that this is a feature of the qualtrics API. I'm not exactly sure how much time must past before you can make a new request or whether you can force another request. Thanks for notifying me about this; I'll see if I can force a new export when needed.

You're welcome.

ghost commented 7 years ago

Just got off the phone with Qualtrics.

API requests are dependent on the number of requests at the time. Most delays between new data in Qualtrics and the API request are a matter of seconds, rarely minutes.

There are two different versions of the API request, so it depends on the number of calls at the time per the request.

Also, the API request can be cached, so if a new request is made, it could be the cached version if the new API request has not yet been processed. Support said to clear cookies, try a different browser, or in our case, clear the temp dir by restarting the R session (as you suggested).

He's going to test a few different requests on his end and try to get an estimate of that latency for me. If I hear back from him I'll update this thread to give other users an idea.

Respectfully,

AJ Thurston

University of South Florida Doctoral Student, Industrial & Organizational Psychology

4202 E. Fowler Avenue, PCD4118G

Tampa, Florida 33620

Office: PCD3120A

On Mon, Mar 6, 2017 at 8:25 AM, Jasper Ginn notifications@github.com wrote:

I've been trying this on some of my own surveys, and it seems that this is a feature of the qualtrics API. I'm not exactly sure how much time must past before you can make a new request or whether you can force another request. Thanks for notifying me about this; I'll see if I can force a new export when needed.

You're welcome.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JasperHG90/qualtRics/issues/16#issuecomment-284394846, or mute the thread https://github.com/notifications/unsubscribe-auth/AU8c-9TAFrL4zXZWCzP8BMVxGNA1OISvks5rjAk8gaJpZM4MTg77 .

JasperHG90 commented 7 years ago

Have you heard anything from them?

ghost commented 7 years ago

I did not, but I tested it myself and found a delay of maybe a minute at most.

Respectfully,

AJ Thurston

University of South Florida Doctoral Student, Industrial & Organizational Psychology

4202 E. Fowler Avenue, PCD4118G

Tampa, Florida 33620

Office: PCD3120A

On Sun, Apr 23, 2017 at 8:10 AM, Jasper Ginn notifications@github.com wrote:

Have you heard anything from them?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JasperHG90/qualtRics/issues/16#issuecomment-296438979, or mute the thread https://github.com/notifications/unsubscribe-auth/AU8c-xK3lgiagUc0PySZ9tL6pPlzBDZPks5ryz_HgaJpZM4MTg77 .

JasperHG90 commented 7 years ago

Thanks!