CADDIES instructions
g.seabrook
Nimal Vitharana (Unlicensed)
Hayley Mills
tamara.shaw.12
Note that CADDIES has been superseded by Archivist.
The instructions below are step by step guidance for entry. In boxes, there are also items of advice that relate to the instructions.
Preparation
To make the process more efficient, it may be beneficial go through the questionnaire and identify:
- Repeated question answers (such as Dates or Yes/No Code Schemes)
- Key sections that will form Sequences. This will give you the overall structure of your questionnaire.
- Where Grid and Loop functions will be used.
You might also want to divide the questionnaire into manageable chunks (between 10 and 30 questions long) or sections. You can then complete the instructions for each section.
Checking for existing items
Creating the Response Answers
The response answers must be created first before you can use them to build the questions.
1. Enter the Categories
- Access the relevant CADDIES instance for the questionnaire you are completing.
- Go to Categories and check if the Category you want is present. You can do this by typing in the Search box and pressing Enter/clicking Search.
If not, click New Category.
Add the text of the Category
Click Create.
 Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
2. Compile the Delete (Categories) into Delete (Code Lists)
- A Code List consists of a number of Categories compiled together and with relevant codes.
Go to Code Lists and check if the Code List you want is present.
Code List Labels
Where a Code List is used more than once, it can be given a more generic label to make it more visible such as cs_Yes_No. More detailed guidance can be found in the guide to labelling ***Add link***
- If not, click New Code List.
- Give the Code List a Short Description (label). These must be unique. Code List labels should use the format cs_[question_reference].
- Select the Category you want from the drop down list. You must then give the Category a code value. This should reflect the questionnaire where such codes are available.
- Click Add to list. The item will then appear in the list above the entry section. You can rearrange the items in the list by dragging and dropping.
- When you have listed all the Categories.
- Click Create Â
- Â Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
3. Create the Code Lists
- A Code Answer needs to be created for all Code Lists in order to use them as a domain answer.
Code Answers do not need creating for those used as row and column headings in grids. When considering whether an item is a grid or not, you can refer to the guide on Sub-questions ***Add link***
Go to Code Answers and check if the Code Answer you want is present.
If not, click New Code Answer.
Select the Code list from the drop down menu.
Click Create.
 Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
4. Create the Text Answers
- Text answers are response domains for when string of text is need as the interviewees' reply. They can vary in length from a single letter to an essay. Key considerations are:
Where a numerical answer requires a unit or other qualifying information, it should be added as text answer. For example, ‘Give your height in centimetres’ is a number, whereas ‘Give your height’ is a text answer as the unit needs to be specified in the answer
Most can be covered by standardised text answers such as ‘Long text’ (with no maximum length) and ‘Generic text’ (with a maximum length of 255).
Commonly used text fields should be named to enhance their use such as Other (maximum length 255) unless a long response is expected.
Maximum length matters so ‘Other (max length: 30)’ is different to ‘Other (max length: 200)’.
Go to Text Answers and check if a suitable Text Answer is present.
If not, click New Text answer.
Enter a Description and the maximum number of characters that can be entered. The maximum number of characters is optional.
Click Create.Â
 Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
- Text answers are response domains for when string of text is need as the interviewees' reply. They can vary in length from a single letter to an essay. Key considerations are:
5. Create the Numeric Answers
- Numeric answers are spaces for interviewees to add a number within a questionnaire. They are either Integer or Float.
- Go to Numeric Answers and check if a suitable Numeric Answer is present.
If not, click New Numeric answer.
Enter a Description and the maximum number of characters that can be entered. The maximum number of characters is optional.
Click Create.
 Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
6. Create the Time, Duration and Date Answers
- Time and Date Answers allow entry of times, dates and durations.
Go to Time and Date Answers and check if a suitable Time and Date Answer is present.
If not, click New Time and Date answer.
Enter a Description.
Select a type; date, time or duration.
If the type is duration, enter a format ***Add link to further guidance***.
Click Create.Â
 Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.Â
Building the Questions
Here the question text is entered and brought together with the possible response answers. You will need all the above components in place before you can build these, hence why this is not the first step in the process. You will need to consider whether the question is a Question Item or a Question Grids, referring to the guide on Sub-questions ***Add link***. You will also need to consider if there are Interviewer Instructions which are attached to the question.
7. Enter the Interviewer Instructions
- Interviewer instructions are instructions attached to specific questions that direct the interviewer to answer a question in a specific way.
- Go to Interviewer Instructions and check if the instruction answer is present.
- If not, click New Instruction.
- Enter instruction text.
- Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.Â
8. Create the Question Items
- Go to Question Items.
- Click New Question Item.
- Add the question item Name (the label) ***add link to label guidance***
- Select relevant interviewer instructions from the drop down menu. You can only attach one set of interviewer instructions.
- Type in the question text exactly as it appears, reproducing any errors.
- Select the relevant answer options. You can have multiple answer options and mix answer types.
- Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
9. Create the Question Grids
 A Question Grid is used to enter more complex question situations. ***Add more text and link to sub-question guide***
Grid referencing
Grids result in a number of cells that need to be referenced in condition logic. Referencing will generally apply to cells, but it may be a requirement to refer to rows, columns or the complete table.
Example | Column 1 | Column 2 | Column 3 |
Row 1 | |||
Row 2 | X | ||
Row 3 |
This table would be referred to as qc_example in its entirety. A cell would be referred using column and then row. The cell with the X in is qc_example$3;2.
To reference a whole column or row, use the notation for that item, combined with a * to reference the multiple cells being covered in the other item. Row 1, therefore, is qc_example$*;1 and Column 2 would be qc_example$2;*.
This becomes more complex when referring to multiple columns or rows. The notation for the selected item needs to expand to contain more information. Examples are:
- Columns 2 and 3 would be: qc_example$2:3;*
- Columns 1 and 3 would be: qc_example$1,3;*
NB pay close attention to the use of colons and semi-colons in this notation. A colon is used to denote the upper and lower ends of a range. A semi-colon is used to separate items.
Constructing the Questionnaire Layout
Now we move from creating the content to laying out the content.
10. Build the Sequences
- Sequences are the structure of the questionnaire – a series of containers holding the content below them. These are mostly section headings, but may also be used to designate sub-sections. Key considerations are:
- For a sub-section to be a Sequence it must have a clear section end and not be a sentence.
Go to Sequences. You should already see ‘0 the attic’ and ‘1 TopSequence’. These are structural and should always be used.
Go to New Sequence.
Give your new Sequence a name relating to the questionnaire you are entering. This is the ‘wrapper’ and should identify the questionnaire clearly (usually the port prefix).
Select the parent as TopSequence.
Click Create.
Return to Sequences by clicking this on the Sequences in the navigation path near the top of the page.
Now create any section sequences using the wrapper as the parent. These will sit inside the wrapper.
Go to New Sequence.
Give your new Sequence the name which is in the questionnaire e.g. Section A.
Select the wrapper as the parent component.
Decide on the position. If you create the items in order, this can be left and it will be added to the end of the items listed under the parent. If you wish to place this in a different order, click the drop down menu and identify which item you want it to be placed before.
Click Create.
Repeat as required.
You can easily view the Sequences you have created and their order in the Spine View.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
- Sequences are the structure of the questionnaire – a series of containers holding the content below them. These are mostly section headings, but may also be used to designate sub-sections. Key considerations are:
11. Add the Interviewees
- Interviewees are the people completing the questionnaire. The Controlled Vocabulary should be used for this Interviewee (Response Unit).
Go to Interviewees.
Click New Interviewee Category.
Add a Description from the Controlled Vocabulary.
Click Create.
Repeat as required.
Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
12. Add the Question Construct
- Question constructs are used to situate Question Items and Question Grids in the structure of the questionnaire. They also allow additional information, such as Interviewee, to be added.
- Go to New Question Component.
- Give the Question Component a Name (label). This should be the same as the Question Item or Question Grid, but begin ‘qc_’. Refer to the labelling guide ***add link***.
- Select an Interviewee from the list you previously added.
- Choose a Question Item or a Question Grid and look up the relevant question from the drop down menu.
- Situate the Question Component:
- Select the parent component from the drop down menu. It can either be a previously created Sequence or Condition (discussed below).
- If the question is within a condition, then select the appropriate parent condition from the drop down menu. You then need to indicate if it appears in the If or Else branch. For an If branch (where the condition is true) tick the box. For an Else branch (where the condition is false) leave it unticked.
- Then decide on the position. If you create the items in order, this can be left and it will be added to the end of the items listed under the parent. If you wish to place this in a different order, click the drop down menu and identify which item you want it to be placed before.
- Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
13. Create and Add the Conditions
Go to Conditions.
Click New Condition.
- Give the condition a Name (label). This should be in the format c_[questionref]. Refer to the labelling guide ***add link***
- Add the text of the condition. This should be the text exactly as it appears in the questionnaire.
After the text, in square brackets the condition should be documented using the Condition Notation. This allows it to be extracted for programmatic use later.
Condition Notation
There is a set of standard condition logic used in CLOSER. This should reside within the square brackets where it can be systematically extracted for future use. It should refer to items using the labels of the relevant constructs.
Comparisons
==
Is equal to
!=
Is NOT equal to
<Â
Less than
>Â
Greater than
Joining
&&
To join two comparisons using an AND
||
To join two comparisons using an OR
Qualifiers
‘ (single quote)
Meta value
“ (double quote)
Literal string
Grid coordinates
$X;Y
Used to specify a cell or multiple cells of a grid
Note that it is possible to have a condition which does not relate to a question, in which case there is no condition logic and the square brackets will be empty.
- Situate the Condition:
Select the parent component from the drop down menu. It can either be a previously created Sequence or Condition.
If the new condition is within a condition, then select the appropriate parent condition from the drop down menu. You need to indicate if it appears in the If or Else branch. For an If branch (where the condition is true) tick the box. For an Else branch (where the condition is false) leave it unticked.
Then decide on the position. If you create the items in order, this can be left and it will be added to the end of the items listed under the parent. If you wish to place this in a different order, click the drop down and identify which item you want it to be placed before.
Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
14. Create and Add the Statements
Statements are portions of text that are important to the questionnaire, but do not constitute questions.
Go to Statements.
Click New Statement.
- Add a Name (label) for the Statement. This should be in the format ‘s_[description_of_statement]’. Refer to the labelling guide ***add link***
Copy the Statement into the Text field.
- Situate the Statement:
- Select the parent component from the drop down menu. It can either be a previously created Sequence or Condition.
- If the new condition is within a condition, then select the appropriate parent condition from the drop down menu. You need to indicate if it appears in the If or Else branch. For an If branch (where the condition is true) tick the box. For an Else branch (where the condition is false) leave it unticked.
- Then decide on the position. If you create the items in order, this can be left and it will be added to the end of the items listed under the parent. If you wish to place this in a different order, click the drop down and identify which item you want it to be placed before.
- Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
15. Add loops
- Â Loops are used when there are questions which are repeated for several iterations.
- Go to Loops.
- Click New Loop.
- Add a Name (label) for the loop. ‘l_[description_of_statement]’. Refer to the labelling guide ***add link***
- Add the loop variable. This will usually be a name related to the subject of the loop question, for example ‘hospital stay’.
- Add the initial value. This is usually 1.
- Add the end value, if appropriate. This is the max number of time you want the loop to run.
- Add the loop while. This contains the logic of the loop e.g. for loop while the answer to question 1 is less than five, the logic would be [qc_1 < 5]
- Â Situate the loop:
- Select the parent component from the drop down menu. It can either be a previously created Sequence or Condition.
- If the loop is within a condition, then select the appropriate parent condition from the drop down menu. You need to indicate if it appears in the If or Else branch. For an If branch (where the condition is true) tick the box. For an Else branch (where the condition is false) leave it unticked.
- Then decide on the position. If you create the items in order, this can be left and it will be added to the end of the items listed under the parent. If you wish to place this in a different order, click the drop down and identify which item you want it to be placed before.
- Click Create.
- Repeat as required.
- Return to the Questionnaire page by clicking on Questionnaire in the navigation path near the top of the page.
16. Document DDI Instance data
This is documented at the time of port creation for the most part. It should be checked, however, and amended to ensure that items which cannot be generated are correct. ***add link to port creation document?***
The Agency should be set to the correct entry for the metadata owners **add link to list of Agencies***.
The Instrument should have a human readable questionnaire title. Whilst the prefix might be alspac_ay, the Instrument should read ‘About Yourself’.