R/ls_getAnswerOptions.R
ls_getAnswerOptions.Rd
(This convenience function is not directly mapped to a remote procedure.)
ls_getAnswerOptions( questionID, lang, lsAPIurl = getOption("lsAPIurl"), sessionKey = NULL )
questionID | ID of the question |
---|---|
lang | Language code for the survey language (Note: The API expects
one of the survey languages as part of the request rather than falling back to
the default language of the survey. However, you can look up that default
language using |
lsAPIurl | (optional) The URL of the LimeSurvey RemoteControl 2 JSON-RPC API |
sessionKey | (optional) Authentication token, see |
A table of answer options
if (FALSE) { lsGetQuestionProperties("13", "en") lsGetQuestionProperties(questionID = "13", lang = "en", properties = list("mandatory")) }