Coding and Thematic Analysis
Code qualitative data, follow the six phases of thematic analysis, and judge quality through credibility, transferability, dependability and confirmability.
Welcome back!
Step 1 of 12Learn
From 300 pages to five themes
After 20 interviews of an hour each, you may have 300 pages of transcript. Reading them is not analysis. Neither is picking the five most striking quotes. Qualitative analysis is a systematic process of breaking data into meaningful pieces, comparing them and building them back up into an interpretation that answers your question.
The basic unit is the code: a short label attached to a segment of data that captures what it is about. Consider this line from a delivery rider:
"The app shows me a bonus if I do ten orders before two, so I skip lunch and just keep riding, even when it rains."
Possible codes: incentive pressure, skipping breaks, working in bad weather. A more interpretive code might be app as invisible boss.
Codes can be:
- Descriptive: summarizing the topic (bad weather).
- In vivo: using the participant's own words ("invisible boss" if a rider said it).
- Interpretive or analytic: capturing a meaning or concept that goes beyond the surface.
Coding can be deductive (starting from a codebook based on theory or your questions) or inductive (codes created from the data). Most projects blend both: a starter codebook plus new codes as surprises appear.
Step 2 of 12Practice · Choose one
A tenant says: "Every time I call about the mold, they say 'next week.' It's been eight months." Which code is the most analytic rather than purely descriptive?
Step 3 of 12Tap to reveal
The six phases of reflexive thematic analysis
1. Familiarization
Read and reread transcripts, listen to audio, and jot down first impressions. Do not code yet.
2. Generating codes
Work through the whole dataset systematically, labeling every relevant segment. Code generously; one segment can carry several codes.
3. Constructing initial themes
Group related codes into candidate themes: patterns of shared meaning organized around a central idea. Mind maps or tables help.
4. Reviewing themes
Check each theme against the coded extracts and then the full dataset. Merge themes that overlap, split those that are too broad, drop those with thin support.
5. Defining and naming themes
Write a short definition of each theme's core idea and boundaries. A good name tells a story: "Riding for the algorithm," not just "Work conditions."
6. Writing up
Weave analytic narrative and vivid extracts into an argument that answers the research question. Writing is part of the analysis, not an afterthought.
Step 4 of 12Practice · Put in order
Put these thematic analysis tasks in the order they usually happen.
Drag the items, or use the arrow buttons, to put them in order.
- Cluster codes into candidate themes
- Draft the findings with extracts that illustrate each theme
- Read every transcript twice and note first impressions
- Write definitions and names for the final themes
- Label segments across the dataset with codes
- Check candidate themes against the full dataset and refine them
Step 5 of 12Learn
A theme is not a topic
The most common weakness in student qualitative reports is presenting topic summaries as themes. "Pay," "Managers" and "Training" are topics: buckets where everything people said about pay is collected, whether positive, negative or contradictory. They do not tell the reader anything.
A theme captures a pattern of shared meaning that answers part of your question. Compare:
- Topic: Training.
- Theme: "Learning on the job, alone": new staff described formal training as a formality and relied on trial and error, which they linked to early mistakes and anxiety.
Other warning signs:
- Themes that are interview questions. If your themes match your guide's sections, you probably summarized answers rather than analyzing them.
- Counting as evidence. "Fourteen participants mentioned stress" can support a theme's prominence, but frequency is not the same as importance. One participant's account may reveal a crucial mechanism.
- Quote overload. Extracts should illustrate your analytic claims, not replace them. A useful ratio is more of your own interpretation than quoted text.
- Ignoring negative cases. Actively look for data that contradict a theme; explaining them makes the analysis stronger.
Software such as NVivo, ATLAS.ti, MAXQDA or free tools such as Taguette helps organize codes, but it does not analyze for you.
Step 6 of 12Practice · Select all that apply
Which of these are themes, as opposed to topic labels? Select all that apply.
Select all that apply.
Step 7 of 12Diagram
From codes to themes
A remote-work study: specific codes cluster under themes that make a claim. Tap a theme.
Tap a shape with to see more.
- Remote work interviews
- Home became the office
Theme: work leaked into every corner of home life.
- Connection takes effort
Theme: relationships that happened by accident now had to be scheduled.
- Email at dinner
- Laptop on kitchen table
- No commute to unwind
- Virtual coffee breaks
- Camera on as courtesy
Step 8 of 12Learn
Judging quality: trustworthiness
Quantitative researchers speak of reliability and validity. Many qualitative researchers use the parallel criteria of trustworthiness proposed by Lincoln and Guba:
- Credibility (parallel to internal validity): are the findings a plausible account of participants' realities? Strategies: prolonged engagement, triangulation of sources, member checking (sharing interpretations with participants for feedback), peer debriefing and searching for negative cases.
- Transferability (parallel to external validity): can readers judge whether findings apply to other settings? Strategy: thick description of context, participants and setting, so readers can decide for themselves.
- Dependability (parallel to reliability): is the process consistent and documented? Strategy: an audit trail of decisions, codebook versions and memos.
- Confirmability (parallel to objectivity): are findings grounded in the data rather than the researcher's preferences? Strategies: reflexive memos, audit trails and clear links from claims to extracts.
Some teams also have two people code the same transcripts and discuss differences. In codebook-based approaches, agreement can even be measured statistically (you will meet Cohen's kappa in Module 4). In reflexive thematic analysis, by contrast, differing interpretations are treated as a resource for discussion rather than an error to be eliminated.
Step 9 of 12Practice · Match the pairs
Match each strategy to the trustworthiness criterion it mainly supports.
Tap an answer, then tap the place where it belongs (or drag it there).
- Detailed description of the setting so readers can compare it to their own
- Sharing preliminary interpretations with participants for their feedback
- Keeping a dated log of every coding decision and codebook change
- Writing reflexive memos about how your own views may shape interpretation
Step 10 of 12Compare
Quality criteria in both traditions
| Aspect | Quantitative | Qualitative (Lincoln and Guba) |
|---|---|---|
| Are the findings true? | Internal validity | Credibility |
| Do they apply elsewhere? | External validity | Transferability |
| Are they consistent? | Reliability | Dependability |
| Are they neutral? | Objectivity | Confirmability |
Step 11 of 12Note
Step 12 of 12Practice · What would you do?
What would you do?
A student's findings section lists four themes: "Background," "Experiences at work," "Challenges" and "Future plans", exactly matching her four interview sections. Each contains a summary of what participants said, followed by many quotes. What is the best advice?
Lesson complete!