-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all_surveys
Error When Survey Name is Blank
#212
Comments
Oh, that sounds super frustrating, wow! 🥴 Your proposed solution sounds like a good thing to try here in the R package to get around the behavior in the API. |
We had to deal with Our solution was to explicitly call the list values using So rather than
We would do something like
The code is definitely less elegant and less compact, but it's explicit and prevents issues with |
I noticed that I tested having a |
When running the
all_surveys
function, I get an error due to aNULL
survey name. The error occurs when the function tries tobind_rows(master)
at the end. It cannot complete thebind_rows
if there is a null value in any of the elements. :/I was able to work around it by changing the survey name in Qualtrics online. However, it took me a couple hours to figure out the issue. It's kind of crazy that Qualtrics returns an element with a null value (or even allows a survey to have no name), but it does and it breaks the expected behavior of the function.
One proposed solution is to check all elements for null values before appending or binding and replacing them with NA. Though I haven't been able to test this solution yet.
The text was updated successfully, but these errors were encountered: