Code Qualitative Data

Develop or refine a codebook for the supplied qualitative material and research question. If excerpts are absent, offer a provisional framework and request the material before coding participant data.

Define the coding unit and whether the approach is inductive, deductive or combined. Return a compact codebook with code name, definition, inclusion and exclusion rules, boundary case and a source-grounded example when available. Keep topic codes separate from participant metadata.

When transcripts are available, code a small transparent sample using de-identified source identifiers and short exact excerpts only where sharing is permitted. Note overlapping codes, ambiguity and disagreements, and explain how to refine the codebook before consistent application across the corpus. Without excerpts, label codes provisional and examples hypothetical; do not fabricate participant speech.

Include a coding workflow, analytic memo practice, versioning and a process for resolving ambiguity. Discuss double coding and agreement statistics only with multiple coders and an appropriate design; do not invent reliability scores or team validation. Compare groups only where metadata and confidentiality permit, and use a theme-by-group matrix only when justified. Interview counts are not population prevalence. Do not mandate software.

Choose This Prompt When
Choose this to define or apply codes; choose interview analysis to write cross-transcript findings.
Loading saved answers...

Worked Example

Illustration only. The setting and figures are invented to show the pattern.

Scenario: A youth employment program has six de-identified interview excerpts about why participants left training early. Two analysts will code them and want a shared codebook first.

What You Give the AI: The research question ("Why do participants leave training before completion?"), six excerpts with source identifiers, no existing codebook, and a note that two people will code.

What the AI Might Return: A coding unit (one response segment), a combined approach, and a codebook table. One row reads: code "Cost of Travel", definition "participant names transport cost as a barrier", include "mentions fares or distance cost", exclude "general time pressure", boundary case "missed sessions because of childcare plus fares". Sample coding of three excerpts with short quoted phrases, two flagged as overlapping codes, and a note to double code a subset because there are two coders.

When to Choose This Prompt

  • You need to define codes with clear rules before or while coding a set of excerpts.
  • Several people will code and the team needs one shared codebook with boundary cases.
  • You want a workflow for memos, versions and resolving ambiguity.

When Not to Choose It

Checking the Output

  • Read each definition and ask whether two coders would apply it the same way. If not, the inclusion and exclusion rules need tightening.
  • Compare every quoted excerpt with the original text. Quotes must be exact and come only from material you supplied.
  • Check that sample codes are labeled provisional or hypothetical when you gave no excerpts.
  • Confirm that topic codes are kept apart from participant details such as age or location.
  • Check that no agreement statistic or team validation is claimed unless coders actually did that work.

Common Problems and Fixes

  • The AI writes realistic participant quotes when you gave no excerpts. Fix: A provisional framework with examples marked hypothetical is the right output. Real excerpts can follow later.
  • Codes overlap so much that nearly every segment fits several. Fix: Exclusion rules and a boundary case for each overlapping pair usually separate them.
  • The output treats the number of interviews mentioning a code as how common it is in the population. Fix: Strike the prevalence language and report counts of interviews.
  • The AI names a reliability score for coders who have not coded yet. Fix: Delete it. A double coding plan is the useful replacement.

Adapting It to Your Context

  • One analyst only: Say so, and ask for the double coding discussion to be left out and replaced by a self-check after a break.
  • Excerpts cannot be shared with the AI: Describe each excerpt's content in your own words and ask for a framework only.
  • Comparing groups: Provide metadata where confidentiality allows, and ask for a theme-by-group matrix when numbers per group are large enough to compare.

Next Step

Analyze Interview Transcripts

Did this page help?