Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limesurvey import/export #149

Open
1 of 4 tasks
benzea opened this issue Nov 4, 2018 · 3 comments
Open
1 of 4 tasks

Limesurvey import/export #149

benzea opened this issue Nov 4, 2018 · 3 comments
Milestone

Comments

@benzea
Copy link
Member

benzea commented Nov 4, 2018

It should be pretty straight forward to create a limesurvey import/export.

AC:

  • Find documentation about Limesurvey description format
  • Check how well it maps to SDAPS
  • Create a conversion module from Limesurvey to LaTeX (without a project)
  • Create an exporter to limesurvey from an SDAPS (project)

Interesting thing, the sdaps command line structure doesn't quite fir to this, because no project dir is needed for the "import" (i.e. LaTeX file generation).

@benzea benzea added this to the 2.0 milestone Nov 4, 2018
@benzea
Copy link
Member Author

benzea commented Nov 25, 2018

There seem to be three possible choices (see https://manual.limesurvey.org/Exporting_a_survey_structure):

The LSS format is probably the best choice with regard to getting all the information. However, it is also the most obscure, as it appears to be simply a flat database dump.

See https://github.com/LimeSurvey/LimeSurvey/tree/master/docs/demosurveys for examples.

For example, the question type is encoded as a letter, the lookup table for that an be found here:

The documentation for the tab separated values file is probably helpful. It looks like the format are almost identical and the descriptions from there should map to the LSS XML format.

@benzea
Copy link
Member Author

benzea commented Nov 25, 2018

Note that using the tab file could be a good idea, as it says:

Although you could also try mapping to the .lss format, the advantage of this format is that it doesn't require you to keep track of foreign key relationships between groups, questions, subquestions, answers, and defaults.

and the format seems to be better documented (i.e. more likely to be stable). The limitation of not support SGQA does not matter to us.

@benzea
Copy link
Member Author

benzea commented Dec 16, 2018

I changed the command line structure to require the project after the command. This solves the issue that the importer does not need an SDAPS project. See commit 262a74c.

@benzea benzea modified the milestones: 2.0, 2.2 Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant