Skip to content
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

Parse Survey Issue #29

Open
libbyseline opened this issue Jun 22, 2024 · 4 comments
Open

Parse Survey Issue #29

libbyseline opened this issue Jun 22, 2024 · 4 comments

Comments

@libbyseline
Copy link

Hello! I am trying to grab my survey object like so

fetch_survey_obj(surveyid) %>%
  parse_survey()

But when I do such I get this error:

You have 494 requests left today before you hit the limit
+ Parsing questions 📋
=======Getting responses 🎣
You have 493 requests left today before you hit the limit
Time difference of 0.852349 secs
Parsing responses ⛏
  |                                                  | 0 % ~calculating  
Error in surv_obj$answers[[answer$row_id]] : 
  attempt to select less than one element in get1index

To my understanding, this is a package issue but please let me know if I am misunderstanding the documentation somehow.

@oiles
Copy link

oiles commented Jul 12, 2024

I am receiving the same error. Is there a fix for this?

@soubhikbarari
Copy link
Owner

@libbyseline and @oiles , thanks for reporting. Unfortunately this package is no longer being actively maintained as I am no longer involved with SurveyMonkey. There was, however, a recent patch issued which might be related / solve this bug - the details of which you can see here. You can try to pull the most recent version and see if the issue has been resolved.

@oiles
Copy link

oiles commented Jul 12, 2024

@soubhikbarari thanks! I did pull the most recent version and still get the error. I have gotten it for matrix and menu question types, and looks like it occurs when there are answers with NULL row_ids. @felippelazar if you have ideas for the fix, would be welcome! I unfortunately can't share the survey I am working with.

@felippelazar
Copy link
Contributor

@oiles I can’t get how an answer you have a NULL row-id. Can you provide an example? Not necessarily in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants