cloudyr / limer

A LimeSurvey R Client
MIT License
67 stars 37 forks source link

Fetching all available data (including incomplete) #64

Closed mkalz closed 1 year ago

mkalz commented 1 year ago

Hi,

thanks so much for the Limer package which makes data fetching so easy with Limesurvey. I would like to fetch not only complete responses but all responses. How is this possible?

Thanks!

forstem6 commented 1 year ago

Hi mkalz,

this should work by specifying the completion status in the get_responses call. Something like this: raw_dat <- get_responses(<yourSurveyID>, sCompletionStatus = "all")

Just a few words on the rationale. get_responses() is a convenient way to use the export_responses method of the LimeSurvey API with specified default values (see the function help for the defaults). Unfortunately, the help is a bit sparse with info about this.

mkalz commented 1 year ago

Great - thanks so much!