GithubHelp home page GithubHelp logo

limerick's People

Contributors

kalimu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

limerick's Issues

Get Responses for only one question

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.

languageCode as Option

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

Error with lsGetResponses

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.

lsAPIurl problem

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.