List available surveys

lsListSurveys(lsAPIurl = getOption("lsAPIurl"), sessionKey = NULL)

Arguments

lsAPIurl

(optional) The URL of the LimeSurvey RemoteControl 2 JSON-RPC API

sessionKey

(optional) Authentication token, see lsGetSessionKey()

Value

An dataframe with sid the ids of survey, surveyls_title the title of the survey, startdate start date, expires expiration date, active if survey is active (Y) or not (!Y)

References

https://api.limesurvey.org/classes/remotecontrol_handle.html#method_list_surveys

Examples

if (FALSE) { lsListSurveys() }