Check out the LimeSurvey source code on GitHub!

Can I export data result via command line?

3 years 4 days ago #105243 by yangxg

I want to integrate limesurvey and R in a more automatical way, that is to use limesurvey as the data collecting tool and analyze the result with R. Therefore, I need to import the data result via command script. Although tools like RMySQL can read data directly from the database, I more love the data structure by the export function inside the Limesurvey.

My questions is, how to exporting the data in R format by the command line (preferably in Linux platform), in stead of mannually click the exporting button after loggin?

I dont know if it is possible, and if not, is there any alternative solution?

Thanks a lot for any help!

The following user(s) said Thank You: r0bis

Please Log in to join the conversation.

1 week 1 day ago #148682 by r0bis
This is precisely my situation as well. Such a facility would be great. I would envision as a commandline utility that can generate data export in one of the defined formats (csv, xls, R) for a given survey as defined by surveyID.

Please Log in to join the conversation.

1 week 1 day ago #148693 by r0bis
Just an update - I found perfect solution for my needs. Data can be pulled off remotely (or if you connect to the machine via crossover cable, in case of non-internet connected machine) at whatever intervals you like using JSON-RPC interface. Data goes straight into R. Basically you need to install **limer** library into R from and you are set to go. You can easily write scripts in R that can be run from crontab.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form