Welcome to the LimeSurvey Community Forum

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

Importing survey from R syntax file

  • julovi
  • julovi's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #232405 by julovi
Importing survey from R syntax file was created by julovi
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.22.12+200406
Own server or LimeSurvey hosting: Own server
Survey theme/template: Default
==================
(Write here your question/remark)
I have a R syntax file of a survey. The survey was accidentally deleted. Would it be possible to recreate the survey from this file?

Thanks!

Please Log in to join the conversation.

More
2 years 4 months ago #232407 by jelo
Replied by jelo on topic Importing survey from R syntax file

I have a R syntax file of a survey. The survey was accidentally deleted. Would it be possible to recreate the survey from this file?
 
The R syntax export is about responses. You will be able to extract some infos depending on the export options, but you will have to rebuild the survey from scratch. You won't be able to just import a R syntax file into LimeSurvey and have an working survey structure.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: tammo, julovi

Please Log in to join the conversation.

More
2 years 3 months ago #232442 by Jmantysalo
Replied by Jmantysalo on topic Importing survey from R syntax file
Not really. But if you have very long survey with very similar questions, like a hundred questions of type 'short free text', you can make an example survey, export it as .txt file, make a script that read R syntax file and writes txt-file, and then import txt-file to LimeSurvey. I suppose it is faster way only if you have many similar R files.

Conditions and many settings for questions can not even in theory be recovered from R syntax file.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose