Construct a Label

Construct a Label

 

Each element entered into Archivist must have a unique label as part of its entry. Generally this is made up of a prefix, which refers to the type of element (loop, statement, etc) and a question reference which is made up from the question number in the questionnaire. Exceptions to this construction are outlined in tables below. The question reference part of the label may include underscores between the parts of the question number, or the question reference may be collapsed. See ‘Question ref collapsed?’ column in the tables below for guidance as to when to collapse the question reference.

Sequences

Prefix

Question ref collapsed?

Construction Notes

Typical Examples

None

N/A

  • Sequences do not have a constructed reference. The sequence label is the exact text of the sequence as found in the questionnaire. Capitalisation, punctuation and spacing should be included exactly as found in the questionnaire. Underlining, bold and italics are not included.

SECTION G: YOUR DIET

Your feelings in the past week

Section 1 Child’s Behaviour

DEVELOPMENT.

1: ACTIVITY AND EXERCISE

Loops

Prefix

Question ref  collapsed?

Construction Notes

Typical Examples

l­_

 

Yes

 

  • Loop labels reference the first construct contained in the loop, e.g. a question or a sequence.

  • If the label references a question, the question numbering is collapsed, i.e. underscores are not input between the components that make up the question reference portion of the label.

l_qF3b

l_friends

  • Label construction when question numbers repeat within questionnaire: Some questionnaires repeat question numbering from section to section. In this case, a section identifier needs to be added to the loop label. Use the section letter if there is one. If the section identifier is numeric, add ‘s’ before the section number and ‘q’ before the question number. If the section identifier contains text only, then the label is made up of the section name (all lower case and words run together) followed by an underscore and the question reference. Further guidance is available here.

l_qB1

l_s1q1

l_qhealth1

Conditions

Prefix

Question ref collapsed?

Construction Notes

Typical Examples

c_

 

 

Yes

 

 

  • Condition labels are numbered from the question that gives rise to the condition. This question is often, but not always, the question immediately above the condition text in the questionnaire.

  • The question reference in the label is collapsed, i.e. underscores are not input between the components that make up the question reference portion of the label.

  • If the condition arises from more than one question, the label is numbered from the first question that creates the condition.

  • If there is no question to reference for the condition, then the condition label numbering uses the question number for the first question that is dependent on the condition.

c_qG3a

c_q14c

c_q11d

  • Labels when one question generates multiple conditions: If there is more than one condition arising from a question, lower case roman numerals, preceded by an underscore, are added to the condition labels.

c_qB11a_i

c_qB11a_ii

  • Label construction when question numbers repeat within questionnaire: Some questionnaires repeat question numbering from section to section. In this case, a section identifier needs to be added to the condition label. Use the section letter if there is one. If the section identifier is numeric, add ‘s’ before the section number and ‘q’ before the question number. If the section identifier contains text only, then the label is made up of the section name (all lower case and words run together) followed by an underscore and the question reference. Further guidance is available here.

c_qB1

c_s1q6

c_s1q6c

c_qhealth1

One question generates multiple conditions:

c_s1q2_i

c_s1q2_ii

  • Label construction when labelling a condition after a statement: conditions without logic that only have statements inside them are labelled after the first statement inside the condition. The label follows the format “c_snameofstatement”.

c_sACCSTOCKi

c_sPROMO

Statements

Prefix

Question ref collapsed?

Construction Notes

Typical Examples

s_

 

 

 

Yes

 

  • Statements may be relevant to an entire questionnaire (e.g. part of a questionnaire’s introductory or concluding material), a sequence or a question.

  • Statement labels are numbered in relation to what the statement refers to. Introductory (intro), concluding (outro) and sequence related statements always have lower case roman numeral numbering added to the end of the statement label, even if there is only one statement associated with the introductory, concluding or sequence material.

s_intro_i

s_sectionB_i (Sequence)

s_socialenvironment_i (Sequence)

s_environmentofchild_i (Sequence)




  • Labels for a single statement associated with a question only reference the question number.

  • Roman numerals are added to the end of question related statements if there is more than one statement associated with a question.




Single statement for a question:

s_qG3a

s_q14d

Multiple statements for a question:

s_q18_i  (1st statement q 18)

s_q18_ii  (2nd statement q 18)

  • Introductory or concluding statements: For statements that are part of the introduction or conclusion of a questionnaire, the statement label contains the word intro or outro, plus a lower case roman numeral. See examples .

s_intro_i

s_outro_i

  • Label construction when question numbers repeat within questionnaire: Some questionnaires repeat question numbering from section to section. In this case, a section identifier needs to be added to the statement label. Use the section letter if there is one. If the section identifier is numeric, add ‘s’ before the section number and ‘q’ before the question number. If the section identifier contains text only, then the label is made up of the section name (all lower case and words run together) followed by an underscore and the question reference. Further guidance is available here.

s_qB1

s_s1q3

s_s1q9a

s_qhealth1

Multiple statements for a question:

s_s2q18_i  (1st statement q 2.18)

s_s2q18_ii  (2nd statement q 2.18)