call_limer: Make a call to the LimeSurvey API

View source: R/call_limer.R

call_limerR Documentation

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

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

## End(Not run)

cloudyr/limer documentation built on Nov. 23, 2023, 7:59 a.m.