Hello,
we have integrated LimeSurvey 2.00 into our workflow for managing our proband data (we have written a lot of MySQL, PHP and Python code). At our institute, LimeSurvey is used as a web front end for surveys, management of invitations and reminders is handled by our system, as is the generation of tokens; we have patched "application/helpers/SurveryRuntimeHelper.php" to trigger (via ZMQ) an immediate response from our internal system when a survey has been completed. So far, we are very satisfied with the whole setup.
However, we would like to take integration one step further: if certain surveys are completed, they should be evaluated and the results be transferred to some internal databases. As mentioned above, we can already trigger arbitrary code of ours when the survey has been completed. We can also manually export data for import in R (this seems to be the cleanest method) and would like to automate that step: is there a way to have LimeSurvey write the R files for a particular $sid to some file? We can run code locally on the machine serving LimeSurvey, or use a remote PHP call with a URL.
Many thanks in advance.
Stefan
we have integrated LimeSurvey 2.00 into our workflow for managing our proband data (we have written a lot of MySQL, PHP and Python code). At our institute, LimeSurvey is used as a web front end for surveys, management of invitations and reminders is handled by our system, as is the generation of tokens; we have patched "application/helpers/SurveryRuntimeHelper.php" to trigger (via ZMQ) an immediate response from our internal system when a survey has been completed. So far, we are very satisfied with the whole setup.
However, we would like to take integration one step further: if certain surveys are completed, they should be evaluated and the results be transferred to some internal databases. As mentioned above, we can already trigger arbitrary code of ours when the survey has been completed. We can also manually export data for import in R (this seems to be the cleanest method) and would like to automate that step: is there a way to have LimeSurvey write the R files for a particular $sid to some file? We can run code locally on the machine serving LimeSurvey, or use a remote PHP call with a URL.
Many thanks in advance.
Stefan