LimeSurvey plugin to allow for the export to an SPSS/PSPP sav file without the need for running any syntax (direct to an SPSS binary SAV file). Uses the https://github.com/tiamo/spss library (thank you!)
- Current SPSS export requires the export of an SPSS syntax and data file, requiring you to execute the syntax to produce a data file (so this saves a step)
- This export allows you to choose which columns to include (existing one always exports all fields)
Download the zip from the releases page and extract to your plugins folder. You will also need to download tiamo/spss and place it in the helpers/spss folder. Alternativel, you can also clone directly from git: with the tiamo/spss submodule included. Go to your plugins directory and type:
git clone --recurse-submodules https://github.com/adamzammit/ExportSPSSsav.git ExportSPSSsav
- LimeSurvey version 3.x, 4.x
- Visit the "Plugin manager" section in your LimeSurvey installation under "Configuration"
- Activate the ExportSPSSsav plugin
- You can configure the plugin to work with old versions of SPSS that don't support long strings if required
- Visit "Export responses" (not Export responses to SPSS) under "Responses and Statistics" of an active survey in LimeSurvey
- A new "Export format" will appear (SPSS .sav)
- Choose the variables you wish to export and click on "Export" - a sav file will be presented for download
Notes:
- Choosing "Answer codes" or "Full answers" under "Responses" will have no effect, "Answer codes" are always exported and fully labelled.
- Choosing "Export questions as" under "Headings" will have no effect - variable names are always the question code and the variable is labelled with the full question text
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
PR's are welcome!
You are free to use/change/fork this code for your own products (licence is GPLv2 or greater), and I would be happy to hear how and what you are using it for!