Sub topic 8
Building and Maintaining a Codebook
Assume you can take research notes from interviews, usability tests, or field observations and can distinguish qualitative data from numerical data. This chapter focuses on the next step: making coding consistent and useful.
What a codebook is
A codebook is a shared reference that defines the codes used to analyze research notes. A code is a short label that describes an important idea in an observation.
For example, navigation_confusion could describe a participant who searches for a feature, backtracks, or asks where to find it. The codebook should explain:
- The code name
- What the code means
- When to include it
- When not to include it
- Example observation IDs
A codebook prevents a label from changing meaning during analysis. It also helps another researcher understand why you applied a code.
| Code | Use when | Do not use when |
|---|---|---|
| `navigation_confusion` | The participant cannot find a feature or setting | The participant finds it but dislikes how it works |
| `setup_friction` | The participant struggles or hesitates during setup | The participant completes setup smoothly |
Start with open coding
Open coding is the first pass in which you assign descriptive codes without forcing every observation into a fixed theory. Read one atomic observation at a time and ask:
- What is happening?
- What problem, behavior, feeling, or expectation does it show?
- Could another researcher understand this label without hearing the whole session?
Use specific labels. bad experience is too broad. setup_friction or unclear_import_path gives you more information.
You can also use deductive coding, which applies codes chosen before analysis. For example, a research question about trust might lead you to create trust_concern in advance. Combine this with open coding when useful, but do not force observations to fit an unsuitable code.
{
"code": "navigation_confusion",
"definition": "The participant cannot find a feature or setting they are looking for.",
"include_when": "The participant searches, backtracks, or asks where something is.",
"exclude_when": "The participant finds the feature but dislikes how it works.",
"example_note_ids": ["n2", "n4"]
}Maintain the codebook
Treat the codebook as a working document. When you create a code, record its definition immediately. When two codes overlap, compare their boundaries before continuing.
A useful maintenance process is:
- Review new codes after each analysis session.
- Merge duplicate codes with different names.
- Split a code when it contains clearly different meanings.
- Record changes and the reason for each change.
- Recheck earlier observations after changing a definition.
Check code quality
A strong code is specific enough to apply consistently and broad enough to capture more than one example. Test each code against several observations. If the code fits only one sentence, it may be an observation rather than a reusable code.
Keep each coded observation linked to its source ID. This evidence trail lets you check whether the code describes the data rather than your assumptions.
Exercise
An observation says, “The participant found the export button but said its location was inconvenient.” Should you apply navigation_confusion?
Show answer
No. The participant found the feature. Use a code about dissatisfaction or interaction difficulty instead, unless your codebook defines a more precise code for that issue.