• CSPro Getting Started Guide
    • Introduction
    • Installation
    • CSPro Tutorial
      • About the Tutorial
      • Exercise 1: Create a Data Entry Application
      • Exercise 2: Create the Data Dictionary
        • Step 1: The ID Item
        • Step 2: The Records
        • Step 3: Creating the Items
        • Step 4: Creating Values for the Items
      • Exercise 3: Create the Data Entry Forms
      • Exercise 4: Enter Data
      • Exercise 5: Tabulate Data
      • Exercise 6: Modify the Table
      • Exercise 7: Add Edits to the Data Entry Application
      • Exercise 8: Run a Batch Application

Step 4: Creating Values for the Items

(Exercise 2, Create the Data Dictionary)
Value sets define what data values we expect for a data item. Value sets are used to define ranges of valid values during data entry and to define categories for cross tabulation.
First we will create a value set for Age. We will use ten-year age groups.
  1. Click on the + next to Person record to make sure its items are showing on the tree.
  2. Right-click on Age and then select Add Value Set.
  3. Press Enter twice to accept the default Value Set Label and Value Set Name. The cursor will drop to the line below into the Value Label column.
  4. Type 0 to 9 for the Value Label, then Enter.
  5. Type 0 as the From value, then Enter.
  6. Type 9 as the To value, then Enter twice, skipping over the Special column.
  7. Type 10 to 19 for the next Value Label, then Enter.
  8. Type 10 as the From value, then Enter.
  9. Type 19 as the To value, then Enter twice, skipping over the Special column.
  10. Continue in this fashion until you have reached 90 to 99.
Next, we will create a value set for Sex.
  1. Right-click on Sex, then select Add Value Set.
  2. Press Enter twice to accept the default Value Set Label and Value Set Name. The cursor will drop to the line below into the Value Label column.
  3. Type Male as the first Value Label.
  4. Type 1 as the From value.
  5. Press Enter twice to skip over the To and Special columns.
  6. Type Female as the second Value Label.
  7. Type 2 as the From value.
  8. Press Enter twice to skip over the To and Special columns.
  9. Press Esc to finish creating the value set.
To finish up:
  1. Add a value set for Marital status. Use 1 for Married and 2 for Not married.
  2. Add values for the Housing record items from the housing information in the questionnaire.
  3. Save the work you have done so far: Select File -> Save from the main menu, or click on on the toolbar.
When you completed this step, the screen might look something like:
This completes this exercise. Continue to the next exercise: Step 1: Place ID and Housing Items on Form