Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Automating Export of Limesurvey Responses

More
9 years 4 months ago #115029 by Luke
"it" is my script, not my message. I wrote the script over 3 years ago :)
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
9 years 4 months ago #115032 by c_schmitz
Replied by c_schmitz on topic Automating Export of Limesurvey Responses
Ah ok ;)

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 4 months ago #115060 by Mazi
Luke, can you let us know with which Limesurvey versions your script works?

Do you always have to call the script manually or can it also be set up as a daily cron job?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
9 years 4 months ago - 9 years 4 months ago #115305 by Luke
I customized LS code for the purpose of one of my projects. LS version I used was:

$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9343';

This was around 3 years ago, my data download script has been running as a cron job since then. Have not had a single problem with it.

Luke
Last edit: 9 years 4 months ago by Luke.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 4 months ago #115315 by Mazi
Thanks for these details, Luke.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
9 years 2 weeks ago #119009 by mercuralchapman
Replied by mercuralchapman on topic Automating Export of Limesurvey Responses
I'm interested in automating survey response exports and sending via email using the API but I really have no idea how to get started. Has anyone done this or would you be willing to create something I could run through a cron job?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 1 month ago #132854 by Mazi
We have recently coded a custom export script which can be called using a certain link. At that link you can adjust the survey ID so it can be used for several surveys and within the script you can define the export format that should be used.
The script creates a simple "download responses" link the user can click and then the download starts.
That link can also be embedded e.g. at the confirmation or admin email.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: clj
The topic has been locked.
More
8 years 5 days ago #135048 by first
Replied by first on topic Automating Export of Limesurvey Responses
Dont we have any method in remote control api to read whole survey data of a specific respondent?

Survey Designer and Programmer
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 days ago #135050 by Mazi
Such a function exists: "export_responses()" can use a from ID to ID condition.
-> api.limesurvey.org/classes/remotecontrol...hod_export_responses

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: first
The topic has been locked.
More
7 years 11 months ago #135513 by clj

Mazi wrote: We have recently coded a custom export script which can be called using a certain link. At that link you can adjust the survey ID so it can be used for several surveys and within the script you can define the export format that should be used.
The script creates a simple "download responses" link the user can click and then the download starts.
That link can also be embedded e.g. at the confirmation or admin email.

Glad to see finally a simple solution for response automated export, where can we find this script?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
7 years 11 months ago #135517 by Mazi
This was custom coded for a customer back then so I can't share any code details. But using the Limesurvey API it should not be too difficult to develop something like that.

If there is a certain demand we may be able to re-code the custom script to provide a generic solution, maybe as a plugin.
If anyone is interested in this please let me know and share which Limesurvey version you are using.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
7 years 11 months ago #135540 by clj
I think automated responses export is quit useful in case of responses data collect/analyse by a third application, this could be an important interface between LS and backend applications.
I'm actually trying to integrate every survey response automatically into another information system (pdf format required), i'm not familiar with api dev, could you please provide some code exemples or references for this case ?
LS version: 2.06
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose