LimeSurvey Manual
Menu
Navigation
Main page
Recent changes
Help
Special pages
Printable version
Recent changes
Help
English
Log in to Manual
Login
Log in to your account
English
Log in to Manual
Get started for free
Sign up
Actions
Translate
Language statistics
Message group statistics
Export
Special
Export translations
Settings
Group
Activating a survey
Adding answers or subquestions
Administering LimeSurvey
Alternatives to the LimeSurvey import function
Assessments
Backup entire database
Batch deletion
Category:Advanced Question Settings
Category:General Question Options
Category:Question Settings
Central Participant Database
Changing an active survey
Check data integrity
Check question logic
Check survey logic - Advanced
Closing a survey
ComfortUpdate
Copy question
Custom translation
Data encryption
Data entry
Data policy settings
DateFunctions
Default answers
Delete question
Delete survey
Display/Export survey
Edit question
Email bounce tracking system
Email templates
Export question
Export responses
Exporting results
Expression Manager
Expression Manager sample surveys
ExpressionScript - Presentation
ExpressionScript Engine - Quick start guide
ExpressionScript examples
ExpressionScript How-tos
ExpressionScript sample surveys
Extension compatibility
Failed email notifications
First login - your user preferences
General FAQ
General settings
Getting started
Global settings
Google API howto
Home page settings
How to design a good survey (guide)
Import responses
Importing a survey
Installation - LimeSurvey CE
Installation FAQ
Installation of the LimeSurvey XAMPP package
Installation security hints
Installation using a command line interface (CLI)
Installation Version 1.92 or older
Iterate survey
Label sets
LDAP settings
License
LimeSurvey Manual
LimeSurvey PRO vs LimeSurvey CE
LimeSurvey Users
LimeSurvey Video-Tutorial
LimeSurvey-compatible hosting companies
List question groups
List questions
Localization
Major version upgrade
Make your plugin compatible with LS4
Manage user groups
Manage users
Menu configuration
Menu entries configuration
Multilingual survey
New Template System in LS3.x
Not categorized and advanced features
Notifications & data
Optional settings
Overview
Panel integration
Participant settings
Plugin manager
Plugin menu
Plugins - advanced
Presentation
Preview function
Problems & solutions
Publication & access
QS:Allowed filetypes
QS:Alphasort
QS:Answer width
QS:Array filter
QS:Array filter exclude
QS:Array filter style
QS:Assessment value
QS:Autocheck exclusive option
QS:Category separator
QS:Chart type
QS:Choice column width
QS:Choice header
QS:Code filter
QS:Commented checkbox
QS:CSS Class
QS:Date max
QS:Date min
QS:Date time format
QS:Display chart
QS:Display columns
QS:Display map
QS:Display rows
QS:Display type
QS:Dropdown dates
QS:Dropdown dates year max
QS:Dropdown dates year min
QS:Dropdown prefix
QS:Dropdown prepostfix
QS:Dropdown separators
QS:Dropdown size
QS:Dualscale headerA
QS:Dualscale headerB
QS:Em validation q
QS:Em validation q tip
QS:Em validation sq
QS:Em validation sq tip
QS:Encryption
QS:Equals num value
QS:Equation
QS:Exclusive option
QS:Get order previous q
QS:Hidden
QS:Hide tip
QS:Input box size
QS:Input boxes
QS:Input max characters
QS:Label column width
QS:Location city
QS:Location country
QS:Location defaultcoordinates
QS:Location mapheight
QS:Location mapservice
QS:Location mapwidth
QS:Location mapzoom
QS:Location nodefaultfromip
QS:Location postal
QS:Location state
QS:Mandatory
QS:Max answers
QS:Max filesize
QS:Max num value
QS:Max num value n
QS:Max num value sgqa
QS:Max subquestions
QS:Maximum chars
QS:Maximum number of files
QS:Min answers
QS:Min num value
QS:Min num value n
QS:Minimum number of files
QS:Minute step interval
QS:Month display style
QS:Multiflexible checkbox
QS:Multiflexible max
QS:Multiflexible min
QS:Multiflexible step
QS:Num value int only
QS:Numbers only
QS:Other
QS:Other comment mandatory
QS:Other numbers only
QS:Other Position
QS:Other replace text
QS:Page break
QS:Prefix
QS:Preg validation
QS:Printable survey relevance help
QS:Public statistics
QS:Question theme
QS:Random group
QS:Random order
QS:Rank header
QS:Relevance
QS:Remove text or uncheck checkbox
QS:Repeat headers
QS:Reverse
QS:Samechoiceheight
QS:Samelistheight
QS:Scale export
QS:Show comment
QS:Show grand total
QS:Show title
QS:Show totals
QS:Showpopups
QS:Slider accuracy
QS:Slider default
QS:Slider handle shape
QS:Slider handle Unicode shape
QS:Slider initial value
QS:Slider layout
QS:Slider max
QS:Slider middlestart
QS:Slider min
QS:Slider orientation
QS:Slider rating
QS:Slider reset
QS:Slider reverse
QS:Slider separator
QS:Slider showminmax
QS:Subquestion width
QS:Suffix
QS:Text input width
QS:Theme editor - advanced options
QS:Time limit
QS:Time limit action
QS:Time limit countdown message
QS:Time limit disable next
QS:Time limit disable prev
QS:Time limit message
QS:Time limit message delay
QS:Time limit message style
QS:Time limit timer style
QS:Time limit warning
QS:Time limit warning display time
QS:Time limit warning message
QS:Time limit warning style
QS:Use dropdown
QS:Value range allows missing
Question groups - introduction
Question toolbar options
Question type - 5 point choice
Question type - Array
Question type - Array (10 point choice)
Question type - Array (5 point choice)
Question type - Array (Increase-Same-Decrease)
Question type - Array (Numbers)
Question type - Array (Texts)
Question type - Array (Yes-No-Uncertain)
Question type - Array by column
Question type - Array dual scale
Question type - Date
Question type - Equation
Question type - File upload
Question type - Gender
Question type - Huge free text
Question type - Language switch
Question type - List (Dropdown)
Question type - List (Radio)
Question type - List with comment
Question type - Long free text
Question type - Multiple choice
Question type - Multiple choice with comments
Question type - Multiple numerical input
Question type - Multiple short text
Question type - Numerical input
Question type - Ranking
Question type - Short free text
Question type - Text display
Question type - Yes-No
Question types
Questions - introduction
QueXML PDF Export
Quick start guide - LimeSurvey 2.50+
Quick start guide - LimeSurvey 3.0+
Quick-translation
Regenerate question codes
Reorder questions and question groups
Reset conditions
Resources
Responses & statistics
Responses (survey results)
Running a survey safely
Setting conditions
SGQA identifier
Statistics
Survey group permissions
Survey menu
Survey participants
Survey permissions
Survey quotas
Survey settings
Survey settings version 2
Survey structure
Survey toolbar options
Surveys - introduction
Surveys - management
Tab Separated Value survey structure
Template:Deprecated
Template:DeprecatedIn
Template:Example
Template:FeatureChange
Template:FeatureStarting
Template:Hint
Template:NewIn
Template:UpdatedIn
Testing a survey
Text elements
Theme editor
Theme options
Themes
Timing statistics
Tools
Transferring an installation
Translating LimeSurvey
Troubleshooting
TwoFactorAdminLogin
Upgrading from a previous version
URL fields
Using regular expressions
Version change log
Version guide
View saved but not submitted responses
Workarounds
Language
aa - Afar
aae - Arbëresh
ab - Abkhazian
abs - Ambonese Malay
ace - Achinese
acm - Iraqi Arabic
ady - Adyghe
ady-cyrl - Adyghe (Cyrillic script)
aeb - Tunisian Arabic
aeb-arab - Tunisian Arabic (Arabic script)
aeb-latn - Tunisian Arabic (Latin script)
af - Afrikaans
aln - Gheg Albanian
alt - Southern Altai
am - Amharic
ami - Amis
an - Aragonese
ang - Old English
ann - Obolo
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
ban-bali - Balinese (Balinese script)
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba (Latin script)
bcc - Southern Balochi
bci - Baoulé
bcl - Central Bikol
bdr - West Coast Bajau
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bew - Betawi
bg - Bulgarian
bgn - Western Balochi
bh - Bhojpuri
bho - Bhojpuri
bi - Bislama
bjn - Banjar
blk - Pa'O
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
btm - Batak Mandailing
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Mindong
ce - Chechen
ceb - Cebuano
ch - Chamorro
chn - Chinook Jargon
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cpx - Pu–Xian Min
cpx-hans - Pu–Xian Min (Simplified Han script)
cpx-hant - Pu–Xian Min (Traditional Han script)
cpx-latn - Pu–Xian Min (Latin script)
cr - Cree
crh - Crimean Tatar
crh-cyrl - Crimean Tatar (Cyrillic script)
crh-latn - Crimean Tatar (Latin script)
crh-ro - Dobrujan Tatar
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
dag - Dagbani
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
dga - Dagaare
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
efi - Efik
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-419 - Latin American Spanish
es-formal - Spanish (formal address)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
fat - Fanti
ff - Fula
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fon - Fon
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gaa - Ga
gag - Gagauz
gan - Gan
gan-hans - Gan (Simplified Han script)
gan-hant - Gan (Traditional Han script)
gcf - Guadeloupean Creole
gcr - Guianan Creole
gd - Scottish Gaelic
gl - Galician
gld - Nanai
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
gpe - Ghanaian Pidgin
grc - Ancient Greek
gsw - Alemannic
gu - Gujarati
guc - Wayuu
gur - Frafra
guw - Gun
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
hno - Northern Hindko
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
hsn - Xiang
ht - Haitian Creole
hu - Hungarian
hu-formal - Hungarian (formal address)
hy - Armenian
hyw - Western Armenian
hz - Herero
ia - Interlingua
ibb - Ibibio
id - Indonesian
ie - Interlingue
ig - Igbo
igl - Igala
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kai - Karekare
kbd - Kabardian
kbd-cyrl - Kabardian (Cyrillic script)
kbp - Kabiye
kcg - Tyap
kea - Kabuverdianu
kg - Kongo
kge - Komering
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kjh - Khakas
kjp - Eastern Pwo
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - Korean (North Korea)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ksw - S'gaw Karen
ku - Kurdish
ku-arab - Kurdish (Arabic script)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kus - Kʋsaal
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lld - Ladin
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mad - Madurese
mag - Magahi
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Māori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mnc - Manchu
mnc-latn - Manchu (Latin script)
mnc-mong - Manchu (Mongolian script)
mni - Manipuri
mnw - Mon
mo - Moldovan
mos - Mossi
mr - Marathi
mrh - Mara
mrj - Western Mari
ms - Malay
ms-arab - Malay (Jawi script)
mt - Maltese
mus - Muscogee
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Minnan
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
nia - Nias
nit - కొలామి
niu - Niuean
nl - Dutch
nl-informal - Dutch (informal address)
nmz - Nawdm
nn - Norwegian Nynorsk
no - Norwegian
nod - Northern Thai
nog - Nogai
nov - Novial
nqo - N’Ko
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nyn - Nyankole
nyo - Nyoro
nys - Nyungar
oc - Occitan
ojb - Northwestern Ojibwa
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pcm - Nigerian Pidgin
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
pwn - Paiwan
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rki - Arakanese
rm - Romansh
rmc - Carpathian Romani
rmy - Vlax Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
rsk - Pannonian Rusyn
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rut - Rutul
rw - Kinyarwanda
ryu - Okinawan
sa - Sanskrit
sah - Yakut
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
se-fi - Northern Sami (Finland)
se-no - Northern Sami (Norway)
se-se - Northern Sami (Sweden)
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
sh-cyrl - Serbo-Croatian (Cyrillic script)
sh-latn - Serbo-Croatian (Latin script)
shi - Tachelhit
shi-latn - Tachelhit (Latin script)
shi-tfng - Tachelhit (Tifinagh script)
shn - Shan
shy - Shawiya
shy-latn - Shawiya (Latin script)
si - Sinhala
simple - Simple English
sjd - Kildin Sami
sje - Pite Sami
sk - Slovak
skr - Saraiki
skr-arab - Saraiki (Arabic script)
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
smn - Inari Sami
sms - Skolt Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
sro - Campidanese Sardinian
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - Siberian Tatar
su - Sundanese
sv - Swedish
sw - Swahili
syl - Sylheti
szl - Silesian
szy - Sakizaya
ta - Tamil
tay - Tayal
tcy - Tulu
tdd - Tai Nuea
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tly-cyrl - Talysh (Cyrillic script)
tn - Tswana
to - Tongan
tok - Toki Pona
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
trv - Taroko
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
ttj - Tooro
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - Uzbek (Cyrillic script)
uz-latn - Uzbek (Latin script)
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vmw - Makhuwa
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
wal - Wolaytta
war - Waray
wls - Wallisian
wo - Wolof
wuu - Wu
wuu-hans - Wu (Simplified Han script)
wuu-hant - Wu (Traditional Han script)
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
xsy - Saisiyat
yi - Yiddish
yo - Yoruba
yrl - Nheengatu
yue - Cantonese
yue-hans - Cantonese (Simplified Han script)
yue-hant - Cantonese (Traditional Han script)
za - Zhuang
zea - Zeelandic
zgh - Standard Moroccan Tamazight
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - Chinese (Macau)
zh-my - Chinese (Malaysia)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
Format
Export for off-line translation
Export in native format
Export in CSV format
Fetch
<languages /> __TOC__ Once your survey is active, you can start browsing responses and export them for further analyses. To access the export function, click on '''Responses''' (displayed on any survey-related panel) and then click on '''Responses & statistics''' from the dropdown menu. <center>[[File:browse_results.png]]</center> The default page that is loaded is [[Response summary]]. Now, look for the '''Export''' option located on the top toolbar: <center>[[File:export2.png]]</center> Several options are available: *[[Export responses#Export responses|Export results]] *[[Export responses#Export responses to SPSS|Export responses to SPSS]] *[[Export responses#Exporting a VV survey file|Export a VV survey file]] =Export responses= The following panel is displayed when the first export-related option is selected from the drop-down menu: <center>[[File:Export responses page.png]]</center> Several filter options are separated into: *'''Format:''' it allows you to select the format in which you wish to export your results. The following formats are available: ** ''CSV File (all charsets):'' see also the "CSV field separator" option at the bottom of the '''Format''' tab. The default one is "comma". The other options are "semicolon" and "tab" ** ''HTML'' ** ''R (data file):'' if this option is chosen, please also export your survey into R (syntax file). To find out more details about how you can analyse your data in R, check [[Export_responses#Export_R|this wiki subsection]] ** ''Microsoft Word (latin charset)'' ** ''Microsoft Excel (all charsets)'' ** ''STATA (.xml):'' for more details on how to analyse your data in STATA, read the following [[Export_responses#Export_STATA-xml|wiki subsection]] ** ''PDF'' ** ''R (syntax file):'' if this option is chosen, please also export your survey into R (syntax file). To find out more details on how you can analyse your data in R, check [[Export_responses#Export_R|this wiki subsection]] *'''General''' ** ''Completion state:'' set to export all records OR completed records only OR incomplete records only. For more information on their meaning, check [[Responses_%26_statistics#Responses_summary|this wiki subsection]] ** ''Export language:'' the default option is the base language of your survey *'''Range''': refers to the id of the stored responses from the [[Responses#The_response_table_page|response table]]. In case the values you introduced are wrong (ie., no response id was found between the values you entered), a pop-up will be displayed when you will try to export the responses asking you to enter values that can be found in the table. {{Note|'''Range''' is not displayed if you wish to export [[Export_responses#Export_a_single_response|only one response]] or [[Export_responses#Export_a_group_of_responses|a group of responses]].}} *'''Responses''' ** ''Export responses as:'' you can either export full answers or convert answer codes. If the later is selected, the answers submitted by your respondents will be replaced by the answer code of the respective answer. "Yes" and "No" answers will be converted to "Y" and "N" answers to any string of characters. If "Convert Y/N to" is enabled, then the answer codes that use Y and N as answers will be converted into the strings of characters from their corresponded boxes. By default, the values are 1 for Y and 2 for N. {{Note|To better understand the difference between full answer and answer codes, check the following [[Adding_answers_or_subquestions|wiki section]].}} *'''Headings''' **''Export question as:'' sets how the heading should look like in the exported file. The following options are available: ***Question code ***Abbreviated question text: the length of the question is decreased if this option is selected (useful if you work with long questions) ***Full question text (default) ***Question code & question text **''Strip HTML code:'' enabled by default in order not to export the HTML used in question text boxes **''Convert spaces in question text to underscores:'' disabled by default. If enabled, the spaces from the question text are converted to underscores. **''Text abbreviated:'' disabled by default. If enabled, the question text will be abbreviated. The length of the question text is given by the number put into the "Number of characters". Please note that this option is useful in the case in which you wish to abbreviate the question texts resulted from selecting either "Full question text" or "Question code & question text" as heading text. ** ''Use ExpressionScript code:'' disabled by default. If enabled, the questions and subquestions will be exported as they are used within the ExpressionScript. Therefore, the heading would resemble the [[ExpressionScript - Presentation#Qcode_variable_naming|qcode variable naming]]. Please note that one of the following question heading options has to be chosen: "Question code" or "Question code & question text". ** ''Number of characters:'' set up a maximum number of characters to be displayed in the headings. This option works if you wish to export your question as abbreviated question text. The default number is 15. ** ''Code/text separator:'' select the option you wish to use to separate the question code from the text of the question. By default, it is a "dot" followed by an empty string (<SPACE>). *'''Column Control''': sets the questions (and their corresponding answers) to be exported. The questions in this list are represented by their corresponding question code and question text. By default, all columns will be exported. To select multiple columns, use CTRL and/or SHIFT keys. *'''Token control''' - sets which '''''survey participant''''' data should be exported. This option is only available if your survey is [[Participant_settings#Anonymized_responses|not anonymous]]! Click here for more information on what a [[Survey participants|survey participant table]] is and how you can use it in LimeSurvey. <center>[[File:export_tokens.png]]</center> ==Export R== The free software environment [http://www.r-project.org/ R] is an alternative for SPSS used for statistical computing and graphics. '''Follow these steps to import your dataset in R:''' #Download '''both''' the syntax file and data file #Store both files in your R working directory (use ''getwd()'' and ''setwd()'' in a R command window to get and set your working directory) #Enter <code>source("File_name_syntax.R")</code> in the R command window. It will import the data in the correct format to a data frame called "data". {{Note|You may also use [https://www.rstudio.com/products/rstudio/download/ RStudio] (free open source solution) to work with your data in R in a nice and easy-to-understand GUI. By following the above guideline, your data should look like this: <center>[[File:Rstudio-screen1.png]]</center> <center>[[File:RStudio-screen2.png]]</center>}} Responses with limited options will be factored with the levels matching the code of the question and the labels matching the options. Questions with "other" as an option will have the question field with _Other appended as a new column for the other data. <div class="simplebox"> '''R-export''' is a plugin in LimeSurvey. If you cannot find the R-export options (R (syntax file), R (data file)) under '''Format''', make sure the R-export plugin is enabled in the [[Plugin menu|plugin menu]]. <center>[[File:Export results to R plugin.png]]</center></div> ==Export Stata-xml== 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 Stata's proprietary format. This format offers 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 Stata's internal date format and thus can directly be used to calculate differences 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!). '''How to 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'. {{Note|If you prefer Stata's binary .dta files, you can just save your data again in this format.}} {{Alert|title=Attention|text= *Due to a limitation in Stata's data format, the length of string (text) variables have a maximum of 244 characters (Stata versions 8-12) and 2045 characters (Stata version 13 and above). Please indicate your Stata version in the settings of the [[Plugin menu|export plugin]]: <center>[[File:STATA export plugin.png]]</center> <center>[[File:Export_for_stata.png]]</center> *Stata only supports attaching value labels to numerical values. So, to achieve short answers (usually one or two digits) and have these properly labelled, one should use numerical answer-codes in LimeSurvey (1=Totally agree). If non-numerical answer codes are used (A=Totally agree), then the complete answer text will be used as answer (eg., 'Totally agree').}} =Export responses to SPSS= SPSS Statistics is a software package used for logical batched and non-batched statistical analysis. You can use the official SPSS package or [https://www.gnu.org/software/pspp/ GNU PSPP] replacement for the proprietary program SPSS. To export your response data to SPSS, go to '''Responses & statistics''' section and select the SPSS-corresponding option located under the '''Export''' menu: <center>[[File:Export2Spss.png]]</center> The following page is displayed: <center>[[File:Export response data to SPSS.png]]</center> The following options are displayed in the panel: *'''Data selection:''' you can select which data should be selected for export: all responses OR only complete responses OR only incomplete responses *'''SPSS version:''' Check your SPSS installation version. Three different export options can be chosen: "Prior to version 16 / PSPP", "16 or up" and "16 or up with Python Essentials" *'''Language:''' acts like a filter that allows you to filter the exported responses based on the language used to fill out the survey *'''Limit:''' type in any numerical value to get exported only the first "n" entries from your response table *'''Offset:''' type in any numerical value to get exported your response table without the first "n" entries from your response table *'''No answer:''' if left empty, an empty string is stored as answer for the questions that have not been answered by respondents. Type in this box any string of characters to replace the empty string. The set of characters will be displayed in the exported .dat file SPSS export includes two files: # a syntax file (''survey_xxxx_SPSS_syntax_file.sps'') # and a data file (''survey_xxxx_SPSS_data_file.dat''). After having downloaded these files you can open them using a raw text editor like notepad to take a look how the exported data looks like. The syntax file holds the commands that should be run to import the data. It is like a programming language inside SPSS. The .dat file contains a comma separated file with all data. '''We recommend you not to import your data as csv''' because there is the risk of loosing information about questions, label sets, and so on. ==Import LimeSurvey responses to SPSS== To import your data to SPSS, pursue these steps: #Download the data and the syntax file. #Open the syntax file in SPSS in Unicode mode. #Edit the 'FILE=' line and complete the filename with a full path to the downloaded data file. #Choose 'Run/All' from the menu to run the import. #Done =VVExport= Once you've begun collecting responses, there may be occasions where you need to be able to directly edit and modify large quantities of data from your responses table (where a spreadsheet tool may be more useful). VVExport (the "VV" stands for vertical verification) allows 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 then import the file again into your responses table using the "VVImport" feature. <div class="simplebox">'''When do I need to use VVExport and VVImport? It is often used in three scenarios: # In the first one, it is used to combine large amounts of data in one LimeSurvey installation. Imagine that you run two similar surveys on two different machines. In order to combine the two response tables, you will have to use VVExport, VVImport, and a third-party app (e.g., spreadsheet apps) to combine your data and put it on one LimeSurvey installation. # It may also be used to edit the response table of a survey. For small edits, you can access the [[Responses#The_response_table_page|response table]] and edit the desired answers. Still, for "macro-editing", VVExport and VVImport are recommended because a spreadsheet program can help you quickly edit dozens of responses at the same time. # A "vv survey file" allows you to import the responses to a survey when the question/answer combinations have changed. Effectively, this allows you to add or remove questions in an active survey. '''Attention!''' To add, remove or '''edit''' questions, you have to deactivate your survey, do the changes, and then activate it again. The old response table that was created as a result of the [[Closing_a_survey#Deactivation|response table deactivation]] can be imported into the newly activated survey by selecting '''Import''' -> '''Import responses from a deactivated survey table'''. For more details, check this [[Import responses#Import responses from a deactivated survey table|wiki subsection]].</div> To export your data via VVExport, go to [[Responses & statistics]] section and select the VV-corresponding option located under the '''Export''' menu: <center>[[File:Export VV button.png]]</center> The following page will be loaded: <center>[[File:VV2-export-en.png]]</center> * '''Survey ID:''': The ID of the survey to be exported * '''Export:''' The completion state of the responses to be exported: **''Completed responses only:'' if a respondent reaches the last page of a survey and clicks the '''Submit''' button, then his or her response is marked as being complete **''Incomplete responses only:'' if a respondent does not click on that ''Submit'' button located before the end page, then the response is marked as being incomplete **''All responses:'' export both completed and incomplete responses * '''File extension:''' The file extension. The file is a TSV ([[wikipedia:Tab-separated_values|tab-separated values]]) file. For easy opening in MS-Excel set the extension to .txt. If you use LibreOffice, OpenOffice or any other spreadsheet program, you can leave it to .csv (default format) {{Note|The first two rows of the spreadsheet are the column labels. The first row is a "human readable" column heading that details the name of the question. The second row is the real column name (Internal DB- or Qcode-name) for that response.}} * '''VV export version:''' The 1.0 version (''Old VV version'') uses database column headers, version 2.0 (Last VV version) uses [[Expression_Manager#Qcode_Variable_Naming|Qcode Variable Naming]]. Version 2.0 is selected by default if all of your question code are unique. {{Note|''Last VV version'' allows different column names than the ones from the database. If your question codes are unique, then the new version is selected. In the new version each column name uses the [[Expression_Manager#Qcode_Variable_Naming|Qcode Variable Naming]]. The update of surveys is [[Export responses#Editing a VV survey file|easier]] in this way.}} {{Alert|title=Attention|'''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 not change (if possible). 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.}} ==Exporting a VV survey file== When you choose to export responses using VVExport, you will be given the option to choose whether you want to export all responses or complete responses only or incomplete responses only. The file extension allows you to choose which extension the exported file will have. For easy use, .csv should be chosen. The first two rows of the spreadsheet/tab-delimited file are the column labels. The first row is a "human readable" column heading that details the name of the question/answer field. The second row is the internal PHP/database column name for that response. You should not modify the first two rows of this spreadsheet if you want to be able to "import" the data back into LimeSurvey at a later point. ==VV files structure - example== ===VV version 1 TSV file=== <syntaxhighlight lang="text"> Response ID Date submitted Last page Start language Token please vote from 1 to 6 (1 - super, 6 - worst) id submitdate lastpage startlanguage token 46492X40X1991 183 09.11.11 11:44 3 de jsfhusdgqfygqsy 4 184 09.11.11 11:53 3 de sdfhsifgsyergze 2 190 09.11.11 11:44 3 de qsdqshkfhkdsjhj 1 </syntaxhighlight> ===VV version 2 TSV file=== <syntaxhighlight lang="text"> Response ID Date submitted Last page Start language Token please vote from 1 to 6 (1 - super, 6 - worst) id submitdate lastpage startlanguage token QCODE 183 09.11.11 11:44 3 de jsfhusdgqfygqsy 4 184 09.11.11 11:53 3 de sdfhsifgsyergze 2 190 09.11.11 11:44 3 de qsdqshkfhkdsjhj 1 </syntaxhighlight> In this example, the SQGA identifiers are not used - instead, the Qcode variable naming <code>QCODE</code> is used in the second line. <div class="simplebox">To understand the difference between SGQA and Qcode, please check the following two wiki sections: * [[SGQA_identifier|SGQA wiki section]] * [[Expression_Manager_-_presentation#Qcode_variable_naming|Question code wiki section]] We generally recommend our users to use question codes since they are much easier to be used (it represents an addition to the SGQA system used in the earlier versions of LimeSurvey. </div> ==Reserved names== A .vv file uses left and right brackets for reserved names. When importing, this string is replaced by: * <code>{question_not_shown}</code> : NULL value in database. LimeSurvey uses [empty string] for not answered question, and NULL value for questions not shown. * <code>{quote}</code> : " (a double quote) * <code>{cr}</code> : Carriage return * <code>{newline}</code> : A new line * <code>{lbrace}</code> : Left bracket (for example, if you want to have {cr} in response : use <code>{lbrace}{cr}</code> ) ==Editing a VV survey file== When a .vv file has been successfully exported you can use a spreadsheet tool to open and edit the file. If you have to choose a column separator when opening the file please use the "Tab" character. If you are using non-ASCII characters make sure you set "UTF-8" as character set. {{Alert|If you are using Microsoft Excel to edit the exported vv file, you should know that Excel destroys the original data structure of the file. This causes an error when you try to reimport the edited .vv file. The workaround is to save as a .txt file once you edited the data from the .csv file. If you save as .csv, Excel uses comma-delimits which will not import into LimeSurvey. By saving as a .txt file, Excel saves as a tab-delimited file which can be imported into LimeSurvey. For other Excel-related issues, check this [[Problems_%26_solutions#Excel|wiki subsection]].}} If you simply wish to simply edit your data, then be careful at the first two columns so that you can later easily VVImport your data back into your LimeSurvey installation! If you combine data from two different surveys, please note that the old VV version uses [[SGQA_identifier|SGQA]] which will most probably give you different "question ids". Therefore, be careful how you merge the data! The alternative would be to use the last VV version because question codes can be constant throughout different LimeSurvey installations (if you use the same survey structure across multiple LimeSurvey instances). When importing the VV file, if two response IDs match and the '''Exclude record IDs''' is disabled, you can make LimeSurvey: *Report and skip the new record *Renumber the new record *Replace the existing record *Replace answers in file in the existing record {{Note|For more information on how to import a VV file, check the following wiki subsection: [[Import_responses#Import_a_VV_survey_file|Import a VV survey file]].}} =Other export options= In case you do not need to export the whole survey, you can also choose to export only: * [[Export responses#Export a single response|a single responses]] or * [[Export responses#Export a group of responses|a group of (filtered) responses]] ==Export a single response== If you want to export an individual response, you can do it in two ways: 1. Login to LimeSurvey, choose your survey, click on [[Notifications & data]] tab and make sure you receive basic email notifications: <center>[[File:Receive emails detailed.png]]</center> Every time someone has completed a survey, you will receive an email with a link: "Click the following link to see the individual response". This will take you to a page with a button above the response data saying "Export this response": <center>[[File:Export one response 2.png]]</center> Choose how the single response will be exported: <center>[[File:Export one response 3.png]]</center> {{Note|You can observe that no '''Range''' export option is displayed since you export only one answer}} 2. Login to your LimeSurvey installation/instance, choose your survey. Select tab [[Responses]] located under the '''settings''' tab: <center>[[File:Responses settings menu.png]]</center> {{Note|[[Responses]] and [[Statistics|statistics]] options are displayed under the '''settings tab''' only if the survey is '''not''' [[Closing_a_survey#Deactivation|deactivated]].}} See the "action" column. Hover the mouse over each option and see which one allows you to see the response details (the first button): <center>[[File:Export one response 1.png]]</center> The response entry will be loaded. Click on the "Export this response" button. You will be redirected to a panel from where you can select how the exported file should look like: <center>[[File:Export one response 3.png]]</center> <hr width="50%" style="margin:auto"> As you can observe, you can also export the response as a pdf file: <center>[[File:Export a response as pdf.png]]</center> This option is usually needed when you wish to share to one of your respondents his/her results. In the case in which you wish to share only certain parts of his/her answer, check the pdf export option located in the [[Statistics#Statistics_-_expert_mode|Statistics panel]]. In this way, you can hide your ''hidden questions'' and/or ''different assessments'' you run "in the background". ==Export a group of responses== This option is useful in the case in which you wish to export a certain group of filtered responses. To do it, access your [[Responses#The_response_table_page|Responses table]] table: <center>[[File:Responses settings menu.png]]</center> {{Note|[[Responses]] and [[statistics|statistics]] options are displayed under the '''settings tab''' only if the survey is '''not''' [[Closing_a_survey#Deactivation|deactivated]].}} You can either order the responses according to the value from each column by clicking on the column label or you can type in the empty boxes located below the column labels a string of characters according to which you wish your data to be filtered to. <center>[[File:Filter group of responses.png]]</center> <div class="simplebox">[[File:Help.png]] Not any string of characters may work. It is dependent of the question type. For example, a popup will be displayed for "startdate". For number-based questions, you may use signs such as ">=, <=, <, >" to better filter your data. For the "completed" column, a dropdown box is displayed if you click on "All" (default option), allowing you to filter your response table data according to the completion state of the responses and so on.</div> Once done, your table should look like the one below. Now, tick all the filtered responses, click on the '''Selected response(s)...''' button located in the bottom left side of the response table, and select the '''Export''' button: <center>[[File:Export group of responses 1.png]]</center> The next page will be loaded: <center>[[File:Export group of responses 2.png]]</center> The '''Range''' column is not displayed since you have already selected the entries you wish to export. To check those IDs, check '''Selection''' (see the above screenshot). You can click on '''Reset''' if you wish to export all your data instead.