Welcome to the LimeSurvey Community Forum

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

Automating Export of Limesurvey Responses

More
8 years 1 month ago #142059 by SCS01
Replied by SCS01 on topic Automating Export of Limesurvey Responses
Hi Mazi,

I would be interested in a plugin for automated export of the responses. LS 2.06.

Regards,

Sake
The topic has been locked.
More
7 years 8 months ago - 7 years 8 months ago #148680 by r0bis
Replied by r0bis on topic Automating Export of Limesurvey Responses
Hi Mazi,

This would be a very important thing, I think. Think of distributed automated data collection units (e.g. on raspberrypi or other linux box). Not everywhere it is possible or even desirable to leave machine connected to internet. Periodic automated data dump in that situation can be quickly picked up and automated script run with R to analyse the data and produce an updated report. In my situation I am trying to develop a solution whereby LS would dump data once a week to a specific directory in a subdirectory named by export date. This directory would be synced to USB stick when it is plugged in (via rsync). It is a bit hard as I am not a programmer, so any pointers how to accomplish this would be great. What I could conceivably imagine is making a php script that is run from commandline via cron. I could make another script to sync to USB. But how to start using LS API for the php script - I would really appreciate some help. I am using latest limesurvey (2.5)

r0berts
Last edit: 7 years 8 months ago by r0bis. Reason: ls version
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 8 months ago #148683 by Mazi
Hi Robis,

it is hard to provide any pointers on how to best code this since custom coding is always rather complex. We use a kind of framework for coding Limesurvey cronjobs (see e.g www.limesurvey-templates.com/limesurvey-...ob-scripts-c-29.html ) so if you are interested we could code an export cronjob pretty fast.
Just drop me a note at marcel.minke@survey-consulting.com if you are interested in a cost estimation.

Which export format are you looking for? Simple CSV?

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: r0bis
The topic has been locked.
More
7 years 8 months ago #148692 by r0bis
Replied by r0bis on topic Automating Export of Limesurvey Responses
Hi Mazi,

Thanks for the quick reply. I found the solution in the interim. As my goal is really to get data into R for further processing, there is a possibility to connect to the machine via crossover ethernet cable and then use JSON-RPC interface. Limer R library does this very well github.com/cloudyr/limer I tested this on my VM setup and it works beautifully.
For a case of pulling data off isolated machines this is even better than working with transferring data via USB stick. I can have many lime machines and one laptop to walk around and pull data off the machines. Process would remain much the same when/if those machines would be connected to network. It is absolutely great; limeR has simplified the process of getting data into R straight from Limesurvey.

r0berts
The topic has been locked.
More
7 years 8 months ago #148726 by makza
Replied by makza on topic Automating Export of Limesurvey Responses
Hi , I'm new beginning for this site recommend I thank you for everything
The topic has been locked.
More
6 years 8 months ago #164844 by anap_evaluation
Replied by anap_evaluation on topic Automating Export of Limesurvey Responses
Hi Mazi,

I would be interested too in a plugin for automated export of the responses. LS Version 2.73.1 (saas mode)

Regards,

Sake
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose