Actions

Exporting results/nl: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 11: Line 11:
[[File:export2.png]]
[[File:export2.png]]


Bij het exporteren kun je op meerdere manieren filteren:
When exporting results to an application there are several filter options which are separated into:
*'''Algemeen'''
*'''General'''
** Zet een bereik: exporteer records X t/m Y
** Set a range like export records X to Y
** Alle responses exporteren OF alleen volledige responses exporteren OF alleen onvolledige responses exporteren
** Set to export all records OR completed records only OR incomplete records only
*'''Koppen'''
*'''Questions'''
** Hoe moet de kop eruit zien: vraagcode OF afgekorte vraag OF volledige vraag
** Set how the heading should look like: Abbreviated heading OR full headings OR question codes
** Zet spaties in de vragen om naar underscores (_)
** Convert spaces in question text to underscores
*'''Responses'''
*'''Answers'''
** Je kunt volledige antwoorden exporteren OF Y/N converteren naar een waarde
** You can either export full answers or convert answer codes Y and N to a defined variable
*'''Formaat'''
*'''Format'''
** Microsoft Word (Latijnse karakterset)
** Microsoft Word (latin charset)
** Microsoft Excel (alle karaktersets)
** Microsoft Excel (all charsets)
** CSV (alle karaktersets)
** CSV File (all charsets)
** PDF
** PDF
*'''Beheer kolomopmaak'''
*'''Column Control'''
** Welke kolommen (antwoorden) moeten worden geëxporteerd. Je ziet ook de  [[SGQA identifier/nl|SGQA identifier]]
** Set which answers should be exported. All answers in this list are represented by their [[SGQA identifier|SGQA identifier]]
** Geef aan welke gegevens van de toegangscode moeten worden geëxporteerd. Dit alleen als de enquête '''''niet anoniem''''' is!
** Set which '''''token''''' data should be exported. This option is only available if your survey is '''''not anonymous'''''!


[[File:export_tokens.png]]
[[File:export_tokens.png]]
Line 61: Line 61:
Nu kies je in het geopende venster voor "Run->All" en na enige tijd krijg je de uitvoer te zien, die sla je op als een .sav bestand.
Nu kies je in het geopende venster voor "Run->All" en na enige tijd krijg je de uitvoer te zien, die sla je op als een .sav bestand.


2. Soms werkt het bovenstaande niet. Probeer dan:
2. Sometimes the easy solution above does not work. Then you can proceed as follows:
* Open SPSS
* Open SPSS
* Kies File->Open->Syntax
* Choose File->Open->Syntax
* Kies: c:\data\survey_xxxx_SPSS_syntax_file.sps
* Choose the appropriate file: c:\data\survey_xxxx_SPSS_syntax_file.sps
* De syntax wordt geopend.
* Now the syntax opens.
* Wijzig de regel  ''/FILE='survey_xxxx_SPSS_data_file.dat' '' om het pad naar de bestanden toe te voegen: ''/FILE='c:\data\survey_xxxx_SPSS_data_file.dat' ''
* Change the line that reads ''/FILE='survey_xxxx_SPSS_data_file.dat' '' to include the path where the files are: ''/FILE='c:\data\survey_xxxx_SPSS_data_file.dat' ''
* Selecteer alle commando's en kies "Run->All" in het menu en na enige tijd GEDULDIG wachten krijg je de gegevens met alle informatie over vragen, labelsets, ...
* Now mark the whole command text and choose Run->All from the menu and after a while (please be patient) you have the dataset with all info like questions, labels etc.


=Exporteren naar R=
=Exporteren naar R=
Line 73: Line 73:
Als je meer informatie hebt, voeg deze dan s.v.p. toe!
Als je meer informatie hebt, voeg deze dan s.v.p. toe!


De freeware software [http://www.r-project.org/ R] is een alternatief voor SPSS. Het lijkt erg op het exporteren naar SPSS. Instructies om je gegevens te importeren in R:
The freeware software [http://www.r-project.org/ R] is an alternative for SPSS. It is closely linked to the SPSS export in LimeSurvey. Instructions on how to import your dataset in R:
#Download het syntax bestand en het data bestand.
#Download the syntax file and the data file.
#Plaats de inhoud van beide in het R commando venster (Gebruik ''getwd()'' en ''setwd()'' in R commando venster om het te zetten en het te indiceren).
#Store both files in R work listing (use ''getwd()'' and ''setwd()'' in R command window to set and indicate).
#Geef in het commando venster ook ''source("Surveydata_syntax.R", encoding = "UTF-8")'' op.
#Enter ''source("Surveydata_syntax.R", encoding = "UTF-8")'' in R command window.
 
=STATA-xml Export=
 
<div class="simplebox">This option is available from version 2.05</div>
 
STATA is a commercial data analysis and statistical software package.
 
This export routine was created to facilitate rapid analysis of data collected with LimeSurvey. It creates an XML-file in STATAs proprietary format, which can be imported independent of the platform STATA is run on. Using this format offeres several advantages over importing plain CSV files:
*Data sets are fully labelled including variable labels (question, subquestion) and value labels (answers, if applicable).
*Dates are already transformed to STATAs internal date format and thus can directly be used to calculate difference between days etc.
*Variable names are, if necessary, converted to a STATA compatible format.
*Data formats of variables (string, integer, float, etc.) are already set according to the underlying data. (No more numbers encoded as strings :) ).
 
'''Howto load the file in STATA:
In STATA's menu, click on File, Import, xml-data. Choose browse to navigate to your exported file and click 'OK'. That should be it.
If you prefer STATA's binary .dta files, you can just save your data again in this format.
'''
 
Be aware: Due to a limitation in STATA's data format, the string length has a maximum of 244 characters. Everything > 244 characters is not exported.


=VVExport ([[File:exportvv.png]]) en VVImport ([[File:importvv.png]])=
=VVExport ([[File:exportvv.png]]) en VVImport ([[File:importvv.png]])=
Line 82: Line 101:
Als je responses hebt, dan wil je die soms gemakkelijk kunnen wijzigen, zeker als het om veel wijzigingen gaat. Dat kun je dan beter doen in een spreadsheet als Excel.
Als je responses hebt, dan wil je die soms gemakkelijk kunnen wijzigen, zeker als het om veel wijzigingen gaat. Dat kun je dan beter doen in een spreadsheet als Excel.


Met VVExport ("VV" staat voor verticale verificatie) kun je je responses exporteren naar een csv bestand. Zolang je de structuur van de enquête of het bestand niet wijzigt, kun je de gegevens wijzigen en de bijgewerkte responses daarna weer importeren met VVImport.
VVExport (the "VV" stands for vertical verification) allow you to export your responses table into a .csv file. So long as the general structure of the file remains intact, you can then edit values within it, and the import the file again into your responses table using the "VVImport" feature.


Wat je moet weten:
Things you should be aware of:
* Als je "VVImport" wilt gebruiken, wil je dan responses toevoegen of wil je alle bestaande responses overschrijven.
* If you want to import responses using "VVImport" make sure to check whether the responses should be added to the existing responses or all responses should be overwritten.
* Als je wilt importeren van een andere enquête die identiek is (vragen/antwoorden) wees er dan zeker van dat je het goede vv bestand gebruikt en dat de eerste 2 regels van het csv-bestand kloppen.
* If you are trying to import responses from a different yet identical (e.g. identical questions/answers from another survey) make sure you are using the correct vv file and that the first two lines of the .csv-file are correct.
* Als je een enquête importeert dan wijzigt het SID niet. De ID van de groep en vraag kunnen wel wijzigen. Dus mogelijk moet je de eerste 2 regels aanpassen om overeen te komen met het id van de groep/vraag. Lees '''Aanpassen kopregels vv bestand'''.
* If you import a survey to your LimeSurvey installation the SID will (if possible) not change. The group id and question id however might change. So you might have to adjust the first two heading lines to match the new group id/question id. See '''Adjusting vv file headings'''


==Exporteren==
==Exporteren==
Line 177: Line 196:
===Alle bestaande responses overschrijven===
===Alle bestaande responses overschrijven===


Als je bestaande responses wilt overschrijven, dan kun je simpel de nieuwe responses onderaan het bestand toevoegen.
If you want to overwrite all responses of the survey you can just add the new responses to the end of the file. As mentoined in "Adding new responses to the existing responses of a survey" you can either enter them manually or copy/paste them from another vv file.


'''Voorbeeld'''
'''Voorbeeld'''
Line 283: Line 302:
Als de eerste twee regels maar kloppen, dan kun je het bestand importeren in een actieve LimeSurvey enquête.
Als de eerste twee regels maar kloppen, dan kun je het bestand importeren in een actieve LimeSurvey enquête.


Als je Excel gebruikt om het vv bestand te wijzigen, dan kan het bestand verminkt worden, waardoor het niet meer in LimeSurvey geïmporteerd kan worden. Probeer dan het volgende:
If you used Microsoft Excel to edit the exported vv file, the data structure of this file may be corrupted, so LimeSurvey is not able to import the edited file. You can try the following workaround to get the import working without an error:
*Open je vv bestand in Excel en doe je aanpassingen
*Open your exported vv file in Excel and do your changes (I guess you already did that)
*Sla het bestand op als tab-separated tekstbestand  (.txt)
*Save it as tab-separated text file (It creates a new file with the extension .txt)
*Doe nog een "lege" vv export in LimeSurvey
*Do another "clean" vv export from LimeSurvey
*Open dit nieuwe bestand met een programma als notepad of een andere teksteditor
*Open this new exported vv file with a texteditor like notepad or something else (I used textwrangler on mac)
*Druk CTRL + A in om alle inhoud te selecteren en verwijder die inhoud
*Press CTRL + A to mark all of the content and delete it
*Open het bijgewerkte bestand met een teksteditor en selecteer weer alle inhoud met CTRL + A
*Open the Excel edited vv file (the tab separated .txt file) with a texteditor and press CTRL + A to mark all of the content
*Kopieer met CTRL + C de inhoud naar het lege vv bestand
*Press CTRL + C to copy the content and paste it into the new (now empty) vv file
*Sla het bestand op als .csv
*Press CTRL + S to save the file as it is (as .csv)
*Probeer het bestand te importeren
*Now try to import this file


Kies op het "Bewerk antwoorden" scherm, de icoon  "Importeer een VV Enquête".
Kies op het "Bewerk antwoorden" scherm, de icoon  "Importeer een VV Enquête".
Line 319: Line 338:
3. Kies als beheerder je enquête en kies "Exporteer resultaten naar programma". In het laatste veld boven  "Exporteer gegevens" kun je aangeven welk record je wilt exporteren.
3. Kies als beheerder je enquête en kies "Exporteer resultaten naar programma". In het laatste veld boven  "Exporteer gegevens" kun je aangeven welk record je wilt exporteren.


==Responses van verschillende enquêtes vergelijken==
==Match responses from different surveys==


Als je responses van personen door de tijd wilt volgen, dan kan LimeSurvey je daarbij helpen. Een mogelijkheid is om een groep personen voor en na een cursus een enquête te laten doen.
Als je responses van personen door de tijd wilt volgen, dan kan LimeSurvey je daarbij helpen. Een mogelijkheid is om een groep personen voor en na een cursus een enquête te laten doen.
Line 329: Line 348:
2. De enquête is niet anoniem en gebruikt toegangscodes. Om een niet anonieme enquête aan te maken:
2. De enquête is niet anoniem en gebruikt toegangscodes. Om een niet anonieme enquête aan te maken:


a - Klik op "Algemene instellingen" om de enquête te wijzigen
a - Click on the icon General settings.


b - Kies de tab "Toegangscodes" en kies "Nee" bij "Anonieme responses"
b - Then under the Tokens tab select "No" for Anonymized responses.


3. Activeer de enquête.
3. Activeer de enquête.
Line 376: Line 395:
Gebruik van Excel voor het wijzigen van vragen kan leiden tot het niet weer kunnen importeren in LimeSurvey. Maar als je gebruik wilt maken van de mogelijkheden als sorteren van Excel, dan wil je het toch misschien proberen.
Gebruik van Excel voor het wijzigen van vragen kan leiden tot het niet weer kunnen importeren in LimeSurvey. Maar als je gebruik wilt maken van de mogelijkheden als sorteren van Excel, dan wil je het toch misschien proberen.


Dit is een gedeeltelijke oplossing die gebruikt is in versie 1.82, gebruik Excel alleen op de data:
This is a partial workaround that seems to work in 1.82-essentially, only use Excel on the part of the file that is the data:
* Exporteer een vraag die je wilt hergebruiken in een csv bestand
* Export a question similar to what you would like to reuse as .csv file
* Open dit bestand in een rawtext editor
* Open the CSV file in a rawtext editor
* Kopieer het gedeelte met de antwoorden naar Excel, en verwerk het met `Text to Columns`.
* Copy the part that has the answers to Excel, and parse it with Text to Columns or equivalent.
* Gebruik Excel om de tekst te plakken in het aantal antwoorden dat je wilt hebben.
* Use the talent of Excel to allow pasting text in columns to paste in 20, 50, 100 answers, as you wish
* Sla het bestand in Excel op als CSV, het zal waarschijnlijk geen quotes bevatten.
* Save the file as Excel CSV, which will likely have no quotes.
* Open dit bestand in de editor en selecteer alle antwoorden en kopieer het.
* Open this file in the editor, and Select All, Copy
* Ga terug naar het bestand dat je met een rawtext editor hebt geopend.
* Go back to the file you opened with the rawtext editor
* Plak het daar.
* Paste over the answers there
* Sla het bestand op onder een andere naam.
* Save AS, with a different name, maybe one that you can remember for reuse
* Importeer dit bestand.
* Import this file.


===Excel - exporteren beperkt tot 255 kolommen===
===Excel - exporteren beperkt tot 255 kolommen===


Vanwege beperkingen in Excel (versies tot en met 2003), kan LimeSurvey maar 255 kolommen exporteren in een keer. Microsoft heeft hier een voorstel voor gedaan met een [http://support.microsoft.com/kb/272729/en-us VB macro].
Due to limitations in Excel (versions lower and equal to 2003), LimeSurvey can export only 255 columns at the same time. Microsoft has proposed a [http://support.microsoft.com/kb/272729/en-us workaround as a VB macro].


Alhoewel nieuwere spreadsheets (Excel >= 2007, OpenOffice) wel meer dan 255 kolommen aankunnen, kan LimeSurvey nog steeds niet meer dan 255 kolommen exporteren.
Alhoewel nieuwere spreadsheets (Excel >= 2007, OpenOffice) wel meer dan 255 kolommen aankunnen, kan LimeSurvey nog steeds niet meer dan 255 kolommen exporteren.
Line 406: Line 425:
===CSV standaard tot 255 kolommen===
===CSV standaard tot 255 kolommen===


Als je een grote enquête exporteert dan limiteert de GUI standaard de uitvoer tot de eerste 255 kolommen. Je kunt dit simpel wijzigen door meer velden te selecteren.
When exporting large surveys the GUI by default limits the export to the first 255 columns. To work around this, simply mark all data sets for export.


==SPSS exporeren==
==SPSS exporeren==
Line 439: Line 458:
Het importeren in SPSS 16 zou nou moeten lukken.
Het importeren in SPSS 16 zou nou moeten lukken.


===Definieer de scope van je variabele===
===Define the scale to use for your variable===


Je kunt de standaard scope van je variabele wijzigen door een vraagattribuut  [[Advanced question settings#scale_export|scale_export]] te gebruiken.
It is possible to override the default scale used for a variable by setting the question attribute [[Advanced question settings#scale_export|scale_export]] to the appropriate value.


==VV Exporteren/Importeren==
==VV Exporteren/Importeren==
Line 451: Line 470:
==Andere problemen en oplossingen==
==Andere problemen en oplossingen==


===Kopieer responses naar een andere enquête (met toegangscodes)===
===Copying responses into a different survey (using tokens)===
# Maak een nieuwe enquête aan, voeg een lege respons toe, exporteer de responses, open het bestand in Excel. Je hebt nu het formaat van het nieuwe invoerbestand.
# Create new survey, add a dummy response, export the response file, open in Excel. This creates the format for the new import file.
# Exporteer de responses van de oude enquête, inclusief toegangscodes, open het bestand in Excel.
# Export the responses from the old survey, including tokens, open in Excel.
# Gebruik deze gegevens om in Excel een worksheet aan te maken voor het standaard token invoerbestand (bijvoorbeeld Voornaam, Achternaam, Token, E-mailadres, E-mail status (OK), Taal (Nl)). Sla het op als csv en importeer de tokens in de nieuwe enquête in LimeSurvey.
# Use this data to create an Excel worksheet for the standard token file import (eg. Firstname, Lastname, Token, Email address, Email status (OK), Language (En)). Save as .csv and import tokens to the new survey in LimeSurvey.
# In Excel, kopieer de velden van de oude enquête responses die je in de nieuwe enquête wilt gebruiken (inclusief token) in de bijbehorende Excel kolom in het nieuwe enquête formaat.
# In Excel, copy the response fields from the old survey responses that you want in the new survey (including token) into the appropriate Excel column of the new survey format.
# Sla het op als .txt bestand.
# Save as .txt file.
# Gebruik VVImport om de nieuwe gegevens te importeren in de nieuwe enquête.
# Use VVImport to import the new data into the new survey.
# Een mogelijke fout bij het invoeren is het datumformaat - sommige systeemdatumvelden staan geen NULL waarde toe. Gebruik bij een fout dan iets als "2009-12-01".
# Possible import errors include date format - some system date fields do not allow a NULL value, some do. If the date looks okay but gives an error, use the Excel cell format "2009-12-01".

Revision as of 11:09, 20 October 2013

Als je enquête actief is, dan kun je de responses gaan bekijken en exporteren. Klik op de toolbar op de keuze "Responses en Statistieken" onder "Responses".

Exporteren naar programma

Op de pagina Bekijk antwoorden staan verschillende opties om te exporteren, onder andere exporteer resultaten naar programma.

When exporting results to an application there are several filter options which are separated into:

  • General
    • Set a range like export records X to Y
    • Set to export all records OR completed records only OR incomplete records only
  • Questions
    • Set how the heading should look like: Abbreviated heading OR full headings OR question codes
    • Convert spaces in question text to underscores
  • Answers
    • You can either export full answers or convert answer codes Y and N to a defined variable
  • Format
    • Microsoft Word (latin charset)
    • Microsoft Excel (all charsets)
    • CSV File (all charsets)
    • PDF
  • Column Control
    • Set which answers should be exported. All answers in this list are represented by their SGQA identifier
    • Set which token data should be exported. This option is only available if your survey is not anonymous!

Exporteren naar SPSS

Algemeen

Om je responses te downloaden naar SPSS, klik je op exporteer resultaten naar SPSS/PASW bestand.

Exporteren en filteren

Als je naar SPSS exporteert zijn er twee opties om te filteren. Je kunt aangeven welke data moet worden geëxporteerd (alle responses / alleen volledige responses / alleen onvolledige responses) en in welke SPSS versie je het bestand wilt gebruiken ("voor 16" of "16 of hoger").

Je kunt twee bestanden exporteren:

  1. een syntax bestand (survey_xxxx_SPSS_syntax_file.sps)
  2. en een gegevensbestand (survey_xxxx_SPSS_data_file.dat).

Na het downloaden van deze bestanden, kun je ze openen met een editor als notepad om te zien hoe de uitvoer eruit ziet. Het syntax bestand bevat de commando's die uitgevoerd moeten worden om de data te importeren. Het is een eigen programmeertaal binnen SPSS. Het data bestand is een csv-bestand. Als je dit bestand zou importeren als een csv-bestand dan verlies je informatie over o.a. vragen en labelsets. Dat moet je dus niet doen.

Importeren in SPSS

Zet de twee bestanden in dezelfde map (voorbeeld: c:\data\survey_xxxx_SPSS_syntax_file.sps en c:\data\survey_xxxx_SPSS_data_file.dat)

Er zijn nu 2 opties:

1. In Windows ga je met de verkenner naar de map met de bestanden. Als SPSS is verbonden met de .sps extensie, dan kun je het bestand openen door te dubbelklikken op het bestand:

Nu kies je in het geopende venster voor "Run->All" en na enige tijd krijg je de uitvoer te zien, die sla je op als een .sav bestand.

2. Sometimes the easy solution above does not work. Then you can proceed as follows:

  • Open SPSS
  • Choose File->Open->Syntax
  • Choose the appropriate file: c:\data\survey_xxxx_SPSS_syntax_file.sps
  • Now the syntax opens.
  • Change the line that reads /FILE='survey_xxxx_SPSS_data_file.dat' to include the path where the files are: /FILE='c:\data\survey_xxxx_SPSS_data_file.dat'
  • Now mark the whole command text and choose Run->All from the menu and after a while (please be patient) you have the dataset with all info like questions, labels etc.

Exporteren naar R

Als je meer informatie hebt, voeg deze dan s.v.p. toe!

The freeware software R is an alternative for SPSS. It is closely linked to the SPSS export in LimeSurvey. Instructions on how to import your dataset in R:

  1. Download the syntax file and the data file.
  2. Store both files in R work listing (use getwd() and setwd() in R command window to set and indicate).
  3. Enter source("Surveydata_syntax.R", encoding = "UTF-8") in R command window.

STATA-xml Export

This option is available from version 2.05

STATA is a commercial data analysis and statistical software package.

This export routine was created to facilitate rapid analysis of data collected with LimeSurvey. It creates an XML-file in STATAs proprietary format, which can be imported independent of the platform STATA is run on. Using this format offeres several advantages over importing plain CSV files:

  • Data sets are fully labelled including variable labels (question, subquestion) and value labels (answers, if applicable).
  • Dates are already transformed to STATAs internal date format and thus can directly be used to calculate difference between days etc.
  • Variable names are, if necessary, converted to a STATA compatible format.
  • Data formats of variables (string, integer, float, etc.) are already set according to the underlying data. (No more numbers encoded as strings :) ).

Howto load the file in STATA: In STATA's menu, click on File, Import, xml-data. Choose browse to navigate to your exported file and click 'OK'. That should be it. If you prefer STATA's binary .dta files, you can just save your data again in this format.

Be aware: Due to a limitation in STATA's data format, the string length has a maximum of 244 characters. Everything > 244 characters is not exported.

VVExport (File:Exportvv.png) en VVImport (File:Importvv.png)

Als je responses hebt, dan wil je die soms gemakkelijk kunnen wijzigen, zeker als het om veel wijzigingen gaat. Dat kun je dan beter doen in een spreadsheet als Excel.

VVExport (the "VV" stands for vertical verification) allow you to export your responses table into a .csv file. So long as the general structure of the file remains intact, you can then edit values within it, and the import the file again into your responses table using the "VVImport" feature.

Things you should be aware of:

  • If you want to import responses using "VVImport" make sure to check whether the responses should be added to the existing responses or all responses should be overwritten.
  • If you are trying to import responses from a different yet identical (e.g. identical questions/answers from another survey) make sure you are using the correct vv file and that the first two lines of the .csv-file are correct.
  • If you import a survey to your LimeSurvey installation the SID will (if possible) not change. The group id and question id however might change. So you might have to adjust the first two heading lines to match the new group id/question id. See Adjusting vv file headings

Exporteren

File:LimesurveyExportVVen.jpg

Wanneer je met VVExport responses wilt exporteren, kun je aangeven welke enquête je wilt exporteren. Ook kun je aangeven of je alle responses wilt exporteren of alleen volledige responses of alleen onvolledige responses. Ook kun je de extensie van het aan te maken bestand invullen, standaard staat hier "csv".

Met een 'vv enquête bestand' kun je de responses importeren wanneer de vraag/antwoord combinaties gewijzigd zijn. Hiermee kun je zelfs vragen toevoegen / verwijderen in een actieve enquête.

Het "VV enquête bestand" kan worden geopend door programma's als Excel. De eerste twee regels zijn de labels van de kolommen. De eerste regel is een "leesbare" kolomkop met de naam van de vraag/antwoord veld. De tweede rij is de interne PHP/database kolomnaam voor dat antwoord.

Wijzig de eerste 2 rijen van dit bestand niet als het bestand later weer wilt importeren in LimeSurvey.

Aanpassen van VV enquête bestand

Wanneer je een bestand hebt geëxporteerd, dan kun je het met een programma als Excel wijzigen. Als je een scheidingsteken moet kiezen bij Excel, kies dan "Tabulator". Als je accenten gebruikt, kies dan "UTF-8" als tekenset/karakerset.

Als je Microsoft Excel gebruikt, dan kan Excel de originele datastructuur verminken. Dat zal een fout geven bij het importeren in LimeSurvey van het gewijzigde bestand.

Maar hiervoor is er een oplossing, waardoor je dit toch kunt doen. Lees de oplossing van een van onze gebruikers ("Importeren van een VV enquête bestand").

Zoals eerder aangegeven, zijn de eerste twee regels van het bestand kopregels die je niet moet wijzigen. Er zijn andere mogelijkheden voor het importeren van een vv bestand, dus maken we nu onderscheid tussen het toevoegen van responses en het overschrijven van responses.

Voorbeeld (structuur van een vv bestand):

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

Toevoegen responses

Als je nieuwe responses wilt toevoegen aan de enquête, dan kun je elke regel, na de eerste twee, verwijderen en een aantal nieuwe responses toevoegen (een regel per response).

Voorbeeld

Stap 1: Open bestand

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

Stap 2: Verwijder oude responses

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

Stap 3: Toevoegen nieuwe responses

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

17    10.11.11 12:44    3    nl        4

18    24.11.11 14:53    3    nl        2

Je kunt dan de enquête importeren, zorg ervoor dat je de bestaande responses niet overschrijft. (Lees "Importeren van een VV enquête bestand").

Alle bestaande responses overschrijven

If you want to overwrite all responses of the survey you can just add the new responses to the end of the file. As mentoined in "Adding new responses to the existing responses of a survey" you can either enter them manually or copy/paste them from another vv file.

Voorbeeld

Stap 1: Open bestand

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

Stap 2: Toevoegen responses (onderaan het document)

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

17    10.11.11 12:44    3    nl        4

18    24.11.11 14:53    3    nl        2

Je kunt dan de enquête importeren, zorg ervoor dat je de bestaande responses overschrijft. (Lees "Importeren van een VV enquête bestand").

Aanpassen kopregels vv bestand

Als je een enquête importeert dan kan de id van de enquête gelijk blijven, maar de id van groep/vraag kan wijzigen. Om de responses toch te kunnen importeren, moet je de kopregels van het vv bestand aanpassen. Hieronder wordt beschreven hoe je een nieuwe enquête met responses kunt importeren.

Voorbeeld

Stap 1: Importeer de nieuwe enquête

Stap 2: Activeer de enquête

Stap 3: Exporteer de responses naar VV (dus 0 responses)

Stap 4: Open het vv bestand (nieuw SGQA: 46492X45X3269)

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X45X3269

Stap 5: Kopieer de 2 kopregels van het lege vv bestand

Stap 6: Open het geëxporteerde vv bestand van de oude LimeSurvey installatie (oude SGQA: 46492X40X1991)

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X40X1991

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

Stap 7: Plak de nieuwe kopregels (gekopieerde 2 regels/rijen) over de eerste 2 regels/rijen van het oude vv bestand (de SGQA moet zijn 46492X45X3269)

Response ID    Datum verstuurd    Laatste pagina    Start taal    Kies a.u.b. tussen 1 t/m 6 (1 - prima, 6 - slecht)

id    submitdate    lastpage    startlanguage    token        46492X45X3269

183    09.11.11 11:44    3    nl        4

184    09.11.11 11:53    3    nl        2

190    09.11.11 11:44    3    nl        1

Je kunt nu het vv bestand importeren en de kopregels zijn goed.

Importeren van een VV enquête bestand

File:LimeSurveyImportVVen.jpg

Als de eerste twee regels maar kloppen, dan kun je het bestand importeren in een actieve LimeSurvey enquête.

If you used Microsoft Excel to edit the exported vv file, the data structure of this file may be corrupted, so LimeSurvey is not able to import the edited file. You can try the following workaround to get the import working without an error:

  • Open your exported vv file in Excel and do your changes (I guess you already did that)
  • Save it as tab-separated text file (It creates a new file with the extension .txt)
  • Do another "clean" vv export from LimeSurvey
  • Open this new exported vv file with a texteditor like notepad or something else (I used textwrangler on mac)
  • Press CTRL + A to mark all of the content and delete it
  • Open the Excel edited vv file (the tab separated .txt file) with a texteditor and press CTRL + A to mark all of the content
  • Press CTRL + C to copy the content and paste it into the new (now empty) vv file
  • Press CTRL + S to save the file as it is (as .csv)
  • Now try to import this file

Kies op het "Bewerk antwoorden" scherm, de icoon "Importeer een VV Enquête".

Op het importeer scherm selecteer je het bestand dat je wilt importeren. Als je de keuze bij "Record IDs uitsluiten?" aanvinkt, dan wordt er voor elk te importeren record een ID aangemaakt. Dit doe je dus als je records (responses) wilt toevoegen aan de al bestaande. Als je het vak niet aanvinkt, dan wordt het originele ID gebruikt in het invoerbestand, dat doe je dus als je bestaande records wilt overschrijven met records in het invoerbestand met hetzelfde ID.

Er zijn opties waarmee je kunt aangeven wat er met dubbele records gedaan moet worden.

  • Reporteer een fout (en negeer het nieuwe record).
  • Hernummer het nieuwe record.
  • Vervang het bestaande record (kies deze optie als je alle responses wilt overschrijven).

Andere opties voor exporteren

Een respons exporteren

Als je één response wilt exporteren, dan kan dat op drie manieren:

1. Kies als beheerder je enquête en ga naar "Algemene instellingen" -> "Melding & Datamanagement" en controleer of je eenvoudige e-mail bevestigingen krijgt.

Als iemand een enquête afrond en verzend, dan krijg je een e-mail met een link: "Klik op de volgende link om de individuele reactie te bekijken:"

Door die link te gebruiken krijg je een pagina met een knop boven de gegevens met de tekst "Exporteer deze respons"

2. Kies als beheerder je enquête, ga naar "Responses & statistieken". Klik op "Toon responses" en kies het ID van de response die je wilt exporteren. Klik daarna op een Exporteren icoon.

3. Kies als beheerder je enquête en kies "Exporteer resultaten naar programma". In het laatste veld boven "Exporteer gegevens" kun je aangeven welk record je wilt exporteren.

Match responses from different surveys

Als je responses van personen door de tijd wilt volgen, dan kan LimeSurvey je daarbij helpen. Een mogelijkheid is om een groep personen voor en na een cursus een enquête te laten doen.

Er zijn dan de volgende stappen:

1. Aanmaken van een enquête

2. De enquête is niet anoniem en gebruikt toegangscodes. Om een niet anonieme enquête aan te maken:

a - Click on the icon General settings.

b - Then under the Tokens tab select "No" for Anonymized responses.

3. Activeer de enquête.

Klik bij het activeren op de knop "Wijzigen in besloten toegangsmode", om de token tabel aan te maken:

4. Voer de deelnemers aan de enquête in. (instructie toegangscodes)

5. Exporteer de responses en zorg ervoor dat je de toegangscode informatie meeneemt.

Om te exporteren klik op Toon responses.

en daarna op exporteer:

Selecteer een of meer velden van de toegangscodes om het te koppelen aan de responses van de enquête:

6. Als je de enquête opnieuw uitvoert, je kunt de enquête makkelijk kopiëren door de enquête en toegangscode te exporteren en te importeren, voer je dezelfde stappen uit. Gebruik dezelfde query om de csv bestand met te importeren toegangscodes te maken.

Problemen & Oplossingen

Excel

Wijzigen in Excel

Als je Excel gebruikt om je responses te wijzigen. Wijzig de kopregels niet. Sla het bestand op als .txt bestand, Excel gebruikt dan tab scheidingstekens. Sla het dus niet op als csv, want LimeSurvey zal het niet importeren vanwege de komma scheidingstekens die Excel toevoegt.

Wijzigen csv met Excel

In het algemeen ontraden we het gebruik van Excel om geëxporteerde .csv bestanden te wijzigen, omdat dan de interne datastructuur wordt gewijzigd. Als je toch doet moet je het scheidingsteken in Excel op een komma zetten in System Control (Windows omgeving):

System Control|Region- Languageoptions|Regional Settings, customize...|Tab Numbers|Digit grouping symbol| replace ; with ,

Oplossing om csv bestanden te wijzigen met Excel

Gebruik van Excel voor het wijzigen van vragen kan leiden tot het niet weer kunnen importeren in LimeSurvey. Maar als je gebruik wilt maken van de mogelijkheden als sorteren van Excel, dan wil je het toch misschien proberen.

This is a partial workaround that seems to work in 1.82-essentially, only use Excel on the part of the file that is the data:

  • Export a question similar to what you would like to reuse as .csv file
  • Open the CSV file in a rawtext editor
  • Copy the part that has the answers to Excel, and parse it with Text to Columns or equivalent.
  • Use the talent of Excel to allow pasting text in columns to paste in 20, 50, 100 answers, as you wish
  • Save the file as Excel CSV, which will likely have no quotes.
  • Open this file in the editor, and Select All, Copy
  • Go back to the file you opened with the rawtext editor
  • Paste over the answers there
  • Save AS, with a different name, maybe one that you can remember for reuse
  • Import this file.

Excel - exporteren beperkt tot 255 kolommen

Due to limitations in Excel (versions lower and equal to 2003), LimeSurvey can export only 255 columns at the same time. Microsoft has proposed a workaround as a VB macro.

Alhoewel nieuwere spreadsheets (Excel >= 2007, OpenOffice) wel meer dan 255 kolommen aankunnen, kan LimeSurvey nog steeds niet meer dan 255 kolommen exporteren.

Gebruik daarvoor een van deze twee oplossingen:

  • exporteer naar CSV en importeer dat in je spreadsheet
  • of doe meerdere keren een export (per keer max. 250 velden), en voeg deze bestanden samen

Excel/.csv - exporteren gaat fout

Als het exporteren naar Excel of csv mislukt, probeer dan eerst de cache van je browser te legen en je cookies te verwijderen.

CSV

CSV standaard tot 255 kolommen

When exporting large surveys the GUI by default limits the export to the first 255 columns. To work around this, simply mark all data sets for export.

SPSS exporeren

Stappen

  1. Klik öp het icoon 'Exporteer resultaten naar SPSS/PASW bestand'.
  2. Geef aan welke responses je wilt selecteren en je SPSS versie.
  3. Download beide bestanden, het .sps (SPSS syntax command bestand) en het .dat bestand
  4. Open SPSS, kies 'Choose another type of file' en selecteer je .sps bestand.
  5. In een interne editor in SPS kun je de commando´s in het bestand wijzigen. Zoek de regel die begint met '/FILE=...'
  6. Voeg hieraan het pad naar je .dat bestand toe. Voorbeeld: Je .dat bestand staat in c:\temp dan wordt het  /FILE='c:\temp\survey_(xxxx)_SPSS_data_file.dat'
  7. Selecteer met CTRL-A alle commando´s in de editor.
  8. Kies in het SPSS menu Run/All.
  9. Het importeren van alle gegevens en labels kan even duren, dus wees geduldig. In de status bar zie je de voortgang.
  10. Klaar!

Mogelijke foutmeldingen in SPSS

ERROR. command name:Get Data

Als je de foutmelding ERROR. command name:Get Data. 2267 Unexpected Token missing. krijgt, wijzig dan de vierde regel in je syntax bestand zodat het verwijst naar het absolute pad van je dat bestand.

C:\spss\Data\limesurvey\SPSS\survey_35276_SPSS_data_file.dat

Error: "Text value unmappable in the current server locale"

Deze fout kan betekenen dat je een geëxporteerd syntax bestand probeert te openen in SPSS 16. De oplossing is dat je moet afdwingen dat SPSS het syntax bestand ziet als unicode.

Open SPSS. Ga naar Edit > Options > Character encoding for data and syntax. Wijzig het in "unicode".

Het importeren in SPSS 16 zou nou moeten lukken.

Define the scale to use for your variable

It is possible to override the default scale used for a variable by setting the question attribute scale_export to the appropriate value.

VV Exporteren/Importeren

VV - Problemen met importeren

Als je problemen hebt met het importeren van een vv bestand, probeer het dan met een Tab-delimited bestand.

Andere problemen en oplossingen

Copying responses into a different survey (using tokens)

  1. Create new survey, add a dummy response, export the response file, open in Excel. This creates the format for the new import file.
  2. Export the responses from the old survey, including tokens, open in Excel.
  3. Use this data to create an Excel worksheet for the standard token file import (eg. Firstname, Lastname, Token, Email address, Email status (OK), Language (En)). Save as .csv and import tokens to the new survey in LimeSurvey.
  4. In Excel, copy the response fields from the old survey responses that you want in the new survey (including token) into the appropriate Excel column of the new survey format.
  5. Save as .txt file.
  6. Use VVImport to import the new data into the new survey.
  7. Possible import errors include date format - some system date fields do not allow a NULL value, some do. If the date looks okay but gives an error, use the Excel cell format "2009-12-01".