Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a limesurvey connector #96

Closed
lakhoune opened this issue Apr 14, 2022 · 5 comments
Closed

Create a limesurvey connector #96

lakhoune opened this issue Apr 14, 2022 · 5 comments
Assignees

Comments

@lakhoune
Copy link
Member

This connector should communicate between the evaluation center and the limesurvey instance. In the evaluation center users should be able to fill in a form to set the necessary fields required for this connection (this includes the url of the limesurvey instance, as well as the necessary credentials for authentication

@lakhoune
Copy link
Member Author

Might be able to use the survey handler service for this?

@lakhoune
Copy link
Member Author

@Taeuber-hub do you think https://github.com/rwth-acis/Survey-Handler-Service could be used for this?

@Taeuber-hub
Copy link

Yes the service could be used for it, I will work on that

@lakhoune
Copy link
Member Author

lakhoune commented Jun 8, 2022

@Taeuber-hub could you provide the response like this?:

[
  {
    "question": "I am:",
    "title": "D1",
    "type": "L",
    "responses": { "Male": 23, "Female": 1 }
  },
  {
    "question": "I use messaging apps daily.",
    "title": "D4",
    "type": "5",
    "responses": { "1": 1, "2": 1, "4": 2, "5": 20 }
  },
  {
    "question": "I work/study in the field of:",
    "title": "D8",
    "type": "S",
    "responses": {
      "Computer Science": 11,
      "Mechatronik": 1,
    }
  },
  {
    "question": "I use following messaging apps:",
    "title": "D9",
    "type": "T",
    "responses": {
      "Whatsapp \r\nTelegram\r\nSlack": 1,
      "Messenger": 1,
      "messenger\r\nwhatapp\r\nviber \r\ntelegram\r\n": 1,
      "messenger, whatsapp, discord": 1,
      "Slack, Whatsapp, FB Messenger, Discord, iMessage": 1,
    }
  }
]

@Taeuber-hub
Copy link

@lakhoune Yes I can arrange the response this way. Currently the function returns the responses the way LimeSurvey provides them, which is:

{
"responses":[
{
"1":{
"id":"1",
"submitdate":"2022-05-17 09:12:45",
"titleQuestion1":"answer",
"titleQuestion2":"answer"
}
},
{
"2":{
"id":"2",
"submitdate":"2022-05-24 21:26:58",
"titleQuestion1":"answer",
"titleQuestion2":"answer"
}
},
{
"3":{
"id":"3",
"submitdate":"2022-06-03 13:26:59",
"titleQuestion1":"answer",
"titleQuestion2":"answer"
}
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants