Ini sebagai catatan untuk melakukan akses limesurvey (json-rpc) langsung melalui R – Limer library.
Setting di sisi Server:
Setting di sisi R (Client).
#### instalasi limer cara lama, sumber: https://github.com/cloudyr/limer #if(!require("devtools")) { # install.packages("devtools") # library("devtools") #} #install_github("cloudyr/limer") #### instalasi limer cara baru, sumber: https://rdrr.io/github/andrewheiss/limer/ #install.packages("remotes") #remotes::install_github("andrewheiss/limer") ############################################################# library(limer) #change the next options (website, user, password) options options(lime_api = 'https://limesurvey.com/index.php?r=admin/remotecontrol') options(lime_username = 'username') options(lime_password = 'passwd') ############################################################# # first get a session access key get_session_key() # list all surveys. A dataframe is returned survey_df<-call_limer(method='list_surveys') #View(survey_df)
Okey, terimakasih om Dimas atas tutorialnya.