KoBo XLSForm Examples
ABCDEFGHIJKLM
1
NAMING CONVENTIONS
2
The following naming conventions for forms are recommended in order to ensure human readability of the data, and ease of analysis. These conventions are also fully compatible with the KoBo Excel Data Analyser.
3
Note that these conventions do not refer to the 'labels' which are what enumerators see on the screen, but to the underlying 'names' which are used to store the data and which appear in the aggregated dataset
4
5
Form IDs
6
In XLSForm, the Form ID appears in the 'form_id' column of the 'settings' sheet
7
In KoBo, it appears under Form Settings > Form ID
8
When deploying a survey form in KoBo, the form ID can be altered.
9
10
CONVENTION:
Country identifier (2 uppercase letters) + Survey acronym (3-6 uppercase letters) + Version Number (1-2 numbers) + 'R' + Revision Number (1-2 numbers)
11
12
Examples:COMIRA1R3
CO = Colombia, MIRA = Multi-sector initial rapid assessment, Version 1, Revision 3
(see 'Versioning' for more information)
13
UAHSM2R7
UA = Ukraine, HSM = Humanitarian situation monitoring, Version 2, Revision 7
14
15
Question names
16
In XLSForm, question names appear in the 'name' column of the 'survey' sheet.
17
In KoBo, they appear in Settings > Question Options > Data Column Name.
18
In the resulting dataset, they are referred to as 'Column Headers > XML Values' in KoBo Data View, and appear as the column headings of the exported data file.
19
20
CONVENTION:
Section identifier (1 uppercase letter) + question number (optional) + underscore + abbreviated question description (CamelCase)
21
22
Examples:I_FullName
Here, 'I' signifies the 'Introduction' section of the form, and 'FullName' a comprehensible shorthand in CamelCase for what the question is asking
23
A4.3_VulnGrps
Here, 'B' signifies the form's section B (demoninated as such on the paper version), 4.3 is the question number (as on the paper version), and 'VulnGrps' is a comprehensible shorthand for 'Vulnerable Groups'
24
25
Option names
26
In XLSForm, option names appear in the 'name' column of the 'choices' sheet.
27
In KoBo, they appear as the Value field to the right of each option (initially set to 'AUTOMATIC')
28
In the resulting dataset, they are referred to as 'Answer Values > XML Values' in KoBo Data View, and appear as actual data values themselves in the exported data file.
29
30
1. For all questions the responses to which can be interpreted numerically, or on a continuous scale (eg of severity):
31
32
CONVENTION:Integer number
33
34
Examples:labelnamelabelname
35
Decreased-1None0
36
Unchanged0Minor1
37
Increased1Moderate2
38
Severe3
39
40
2. For all questions where responses cannot be interpreted numerically:
41
42
CONVENTION:
Short expression (all-caps; without punctuation, spaces or underscores)
43
44
Examples:labelnamelabelname
45
ProtectionPROTWord of MouthWOM
46
EducationEDURadioRADIO
47
Water & SanitationWASHTelevisionTV
48
HealthHLTHInternetINET
49
Food SecurityFSECCommunity LeadersCMTY
50
51
(Common options)labelname
52
OtherOTHER
53
NoneNONE
54
Do not knowDNK
55
56
List names
57
In XLSForm, list names appear in the 'list name' column of the 'choices' sheet.
58
In KoBo, they do not appear at all, and are allocated automatically
59
In the resulting dataset, they do not appear at all.
60
The only purpose of a naming convention for list names is to improve readability of the XLSForm definition itself, rather than the resulting dataset.
61
62
1. List of options used by one specific question only, where this question has a question number
63
64
CONVENTION:Question number
65
66
Example:surveytypenamechoiceslist namenamelabel
67
select_one A4.3
A4.3_VulnGrpsA4.3DSBLDisabled
68
A4.3WOMENWomen
69
70
2. List of options used by a question without a question number, or by several questions
71
72
CONVENTION:
option list description (all lower case, in plural where applicable)
73
74
Example:surveytypenamechoiceslist namenamelabel
75
select_one genders
A1.2_EnumGendergendersMMale
76
gendersFFemale
77
78
Associated or linked questions
79
Questions are sometimes closely associated with each other, which may occur at any point because of the structure of the questionnaire.
80
There are also three cases where groups of questions are analysed together, for which standardised naming conventions are especially important: 'Or Other', 'Ranking' and 'Scoring'
81
More detail on how to implement these particular cases is documented in subsequent sheets.
82
83
CONVENTION:Principal question -
Standard question name convention
84
Associated questions -
Principal question root + underscore + option name
85
86
Example:Principal question - A4.3_VulnGrps
including the following options:
labelname
87
Disabled (specify disability)
DSBL
88
Other group(s) (please specify)
OTHER
89
Associated questions - A4.3_VulnGrps_DSBL
text questions to specify particulars
90
A4.3_VulnGrps_OTHER
91
92
93
(Ranking)Principal question -B6.2_PrioSectors
including the following options:
labelname
94
(in principal question only)
NoneNONE
95
Do not knowDNK
96
Associated questions -B6.2_PrioSectors_1for Rank 1
97
B6.2_PrioSectors_2for Rank 2
98
B6.2_PrioSectors_3for Rank 3
(see 'Ranking' for more information)
99
100
101
(Scoring)Principal question - C8.1_CropDamage
including the following options:
labelname
102
(also appearing in associated questions)
None0
103
Moderate1
104
Associated questions -
C8.1_CropDamage_RICE
Severe2
105
C8.1_CropDamage_MAIZE
Do not knowDNK
106
C8.1_CropDamage_WHEAT
N/ANA
107
C8.1_CropDamage_MANIOC
108
(see 'Scoring' for more information)