Welcome, Guest
Username: Password: Remember me

TOPIC: Automating Export of Limesurvey Responses

Automating Export of Limesurvey Responses 8 months 1 week ago #114961

  • Luke
  • Luke's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 2
  • Karma: 1
If anyone is still interested in this please find all the files below.


File Attachment:

File Name: limesurvey_export.zip
File Size:23 KB
Last Edit: 8 months 6 days ago by c_schmitz.
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 1 week ago #114962

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 881
  • Thank you received: 127
  • Karma: 96
Hi,

thank you for sharing but why don't you use the RemoteControl API function export_responses ?
Otherwise if something within LimeSurvey changes your export code will not properly be working anymore.

A JSONRPC client is even included within LimeSurvey. Look at function test() of the remotecontrol controller.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 4 days ago #115007

  • Luke
  • Luke's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 2
  • Karma: 1
Because I wrote it over 3 years ago when there was no API?

;)
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 3 days ago #115008

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 881
  • Thank you received: 127
  • Karma: 96
Weird, last message is said to be from 3 days ago.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 3 days ago #115029

  • Luke
  • Luke's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 2
  • Karma: 1
"it" is my script, not my message. I wrote the script over 3 years ago :)
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 3 days ago #115032

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 881
  • Thank you received: 127
  • Karma: 96
Ah ok ;)
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 8 months 2 days ago #115060

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5705
  • Thank you received: 331
  • Karma: 255
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 7 months 3 weeks ago #115305

  • Luke
  • Luke's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 2
  • Karma: 1
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: 7 months 3 weeks ago by Luke.
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 7 months 3 weeks ago #115315

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5705
  • Thank you received: 331
  • Karma: 255
Thanks for these details, Luke.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Automating Export of Limesurvey Responses 3 months 3 weeks ago #119009

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 administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.220 seconds