Learn R Programming

limer (version 0.1)

call_limer: Make a call to the LimeSurvey API

Description

This function makes a generic call to the LimeSurvey API. See https://manual.limesurvey.org/RemoteControl_2_API for API documentation.

Usage

call_limer(method, params = list(), ...)

Arguments

method
API function to call. Full lis Defaults to value set in options().
params
Optional named list of parameters to pass to the function.
Other arguments passed to POST.

Value

Results from the API (sometimes plain text, sometimes base64-encoded text).

Examples

Run this code
## Not run: ------------------------------------
# call_limer(method = "list_surveys")
# call_limer(method = "get_summary",
#            params = list(iSurveyID = 238481,
#                          sStatname = "completed_responses"))
## ---------------------------------------------

Run the code above in your browser using DataLab