Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
How to export the data in R? (1 viewing) (1) Guest
Go to bottom Favoured: 1
TOPIC: How to export the data in R?
#21791
livio (User)
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
How to export the data in R? 1 Month, 1 Week ago Karma: 0  
Is it possible to export the data in R without passing trough .csv?
from what I know, the most informative available format is the SPSS one. It has labels and variable.labels, whereas using csv format I loose either the code or the labels. for ordinal answer I also loose the order of my labels. so, can I import my data some how in R without using SPSS? unfortunately the SPSS export is a SPSS code and not a .sav file.
I'm trying to keep myself as much "free" as I can..

I also think would be nice to increase connection among software sharing the same philosophy.. so, why not putting an R export button, together with the SPSS one?
 
Logged Logged  
  The administrator has disabled public write access.
#21803
Mazi (Moderator)
Moderator Lime
Posts: 3514
graph
User Online Now Click here to see the profile of this user
Re:How to export the data in R? 1 Month, 1 Week ago Karma: 28  
To my knowledge R export isn't possible yet. I think it's on the list but we don't have a coder who is familiar with R.

Maybe you can help us coding an R export?
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#21806
livio (User)
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:How to export the data in R? 1 Month, 1 Week ago Karma: 0  
YES! it would be great!
can you give me some information? should I directly speak with the server ? can I simply translate the SPSS code? If yes, can you send me the code that produce the SPSS file?
just another thing. I really don't have so much time, hope you are not in hurry..
 
Logged Logged  
  The administrator has disabled public write access.
#21833
Mazi (Moderator)
Moderator Lime
Posts: 3514
graph
User Online Now Click here to see the profile of this user
Re:How to export the data in R? 1 Month ago Karma: 28  
It would be great to have an R export for Limesurvey.

If you can help implementing this feature please
1. Get the latest source code from SVN
2. Open a ticket at the bugtracker naming it "Feature request: R export" or the like
3. Code the export. I don't know which is the best way. Probably getting the data from the database and transfering it into R syntax will be the best way. You can use the spss.php in /admin as reference.
4. Attach your new r-export.php file to the bugtracker.

If you have any question feel free to ask in our Limesurvey IRC. we really appreciate your help. Of course there is no time pressure, don't worry.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top