Skip to content

Cant convert survey responses to data.frame #5

@matentzn

Description

@matentzn

I was super greatful when I saw your tool.. However, I have trouble to convert the survey responses to a data frame. I can see that after calling g <- getresponses(r, s[[2]]), I do get the results of the survey. However, when calling as.data.frame(g), I get:

Error in vector(type, length) : 
  vector: cannot make a vector of mode 'NULL'.
In addition: There were 40 warnings (use warnings() to see them)

The warnings all look like:
Warning messages:
1: In mapply(function(i, type) { ... :
  longer argument not a multiple of length of shorter
2: In mapply(function(i, type) { ... :
  longer argument not a multiple of length of shorter
3: In mapply(function(i, type) { ... :
  longer argument not a multiple of length of shorter
4: In mapply(function(i, type) { ... :

Could it have anything to do with 1) incomplete responses or 2) weird special characters in the questions? Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions