Export responses
lsExportResponses( surveyID, lang = NULL, completionStatus = "all", headingType = "code", responseType = "short", lsAPIurl = getOption("lsAPIurl"), sessionKey = NULL )
surveyID | ID of the survey |
---|---|
lang | (optional) Language code for the language to be used (This affects headers if |
completionStatus | (optional) Response completion status. One out of |
headingType | (optional) Type of the column headers (mainly questions). One out of |
responseType | (optional) Answer codes ( |
lsAPIurl | (optional) The URL of the LimeSurvey RemoteControl 2 JSON-RPC API |
sessionKey | (optional) Authentication token, see |
A data frame with the survey responses
https://api.limesurvey.org/classes/remotecontrol_handle.html#method_export_responses
if (FALSE) { lsExportResponses("123456", completionStatus = "incomplete", headingType = "abbreviated") }