kalimu / limerick Goto Github PK
View Code? Open in Web Editor NEWBridge between LimeSurvey and R (and Shiny)
License: Other
Bridge between LimeSurvey and R (and Shiny)
License: Other
Hello,
Thank you very much for developing such a useful package, it's really great and works fine.
Actually I'm working on a project, aimed at collecting actual stats for active surveys stored at the Limesurvey platform grouped by one question (namely by region where these surveys are performed) and presenting them as an interactive dashboard for a team of researchers.
Is there a way not to import all results, but only for this special question. I see that the function lsGetResponses() has attributes for limiting response IDs, but I'm not sure that there is a similar possibility to select question ID. Any help will be much appreciated.
I just wanted to thank you for this great package and the work that you put in its development!
Hi
I've got a limesurveyquestionnaire set up in german. Using
options(lsAPIurl = 'https://mylimesurveyinstallation.com/admin/remotecontrol')
s<-12345
options(lsUser = "user")
options(lsPass = "pass")
lsSessionKey("set")
lsGetProperties("question",s,"170")$question
I get
Error in lsAPI(method = method, params = params, lsAPIurl = lsAPIurl) :
Error: Invalid questionid
Using
lsGetProperties("question",s,"170",languageCode="de")$question
works. Is there a way to set the languageCode like with options()
?
options(languageCode="de")
did not work.
thanks,
grisuf
I can get a session key and lsGetSummary works without a problem, showing 8 completed responses.
However, lsGetResponses(surveyID, completionStatus = 'complete') or just lsGetResponses(surveyID) give the following error:
Error in lsAPI(method = method, params = params, lsAPIurl = lsAPIurl) :
Server is responding but not in a proper way. Please check the API URL.
Am I missing a necessary parameter or do you have another ID of what the problem might be?
Thanks.
Hi,
Can anyone help, as something has changed I guess in the LimeRick code. I'm still running the code I used to do, but now I always get the same error. When I run e.g.
questionList <- lsList(action = "questions", surveyID = surveyID, lsAPIurl = getOption("lsAPIurl"), sessionKey = key)
I always got this error:
Error in curl::curl_fetch_memory(url, handle = handle): Failed to connect to odgar.pl port 80: Connection refused Request failed [ERROR]. Retrying in 1 seconds...
The call
key <- lsSessionKey(action = "set", lsAPIurl = getOption("lsAPIurl"), user = getOption("lsUser"), pass = getOption("lsPass"), verbose = TRUE, sessionType = "global")
does work as it should and returns indeed a key.
Is is possible that he always uses the default values instead of trying first the given ones.
Many thanks for any help/corrections
Patrick
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.