Qualitative analysis
How to Create a Qualitative Codebook
A qualitative codebook is a working analytical document. It records the concepts used to interpret research material and helps researchers apply those concepts coherently over time.
A useful codebook normally contains the code name, definition, inclusion guidance, exclusion guidance where needed, examples and analytical notes. Larger projects may also record parent codes, related research questions, version history and responsibility for important changes.
Begin with the research question, but do not assume the initial framework will survive unchanged. Deductive projects may start from theory, literature or an evaluation framework. Inductive projects may begin with much lighter structure. Many studies combine both.
Code names should carry analytical meaning. PROBLEM is rarely useful. WARNING_ARRIVES_AFTER_ACTION_WINDOW tells the researcher what the concept is meant to capture.
Definitions should describe the concept rather than repeat the label. Inclusion and exclusion rules become especially useful when two codes overlap. For example, WARNING_DELAY might apply only when information arrives late, while EVACUATION_DELAY concerns delay after the warning has already been received.
Examples can clarify a difficult boundary, but they should not become rigid prototypes. New evidence may express the same concept differently.
Hierarchies can help organise large codebooks when parent-child relationships are conceptually meaningful. They should not be created simply to make the coding tree look sophisticated.
Codebooks also change. A code may be renamed, split, merged or retired. Consequential changes should be recorded so researchers can understand what happened and decide whether earlier material needs review.
In team research, the codebook acts as a shared analytical reference. Disagreement is not automatically a problem; it may reveal ambiguity, poor definitions or a distinction the framework has missed.
AI can suggest possible codes, but a suggestion should enter the codebook only after researcher review. The researcher should still be able to explain why the concept exists and what evidence supports it.
A mature codebook is not one that stopped changing early. It is one whose current structure can be explained from the evidence and decisions that produced it.
