Skip to content

Instantly share code, notes, and snippets.

@andrewheiss
andrewheiss / limesurvey_remote_control.R
Created June 5, 2015 01:34
Access LimeSurvey RemoteControl API with R
library(httr)
library(jsonlite)
library(base64enc)
#----------------------------------------
# Functions to access RemoteControl API
#----------------------------------------
get_session_key <- function(username, password) {
body.json = list(method = "get_session_key",
id = 1,