Closed andrewheiss closed 7 years ago
As mentioned in another issue, get_participants seems not to be working.
Using call_limer seems to work, but how do we ask for attributes to be included in the results?
Thanks!
@jsibley2 : did you manage to find out? I am facing the same thing... Would love to get some direction.
So list_participants returns a dataframe of 3 columns, one of which is a dataframe on itself.
This is intended behaviour by the designers of LS: https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/remotecontrol/remotecontrol_handle.php#L1854
... how do we ask for attributes to be included in the results?
That is another issue.
participants<-get_participants(693329,iStart=0,iLimit=1007,bUnused=TRUE,aAttributes=c('attribute_1','attribute_2'))
is the way to do that.
Closing this since it reflects the API's expected behavior (and it's clearer now thanks to #14)
Received via e-mail:
Is this intended behaviour?
So list_participants returns a dataframe of 3 columns, one of which is a dataframe on itself.