Course overview
Lesson 5 of 9 · 3 promptsAI for Social Scientists
LESSON 05 OF 9

Qualitative Analysis

3 prompts for Social Scientists

Prompts for Social Scientists: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Draft An Initial CodebookUse this when you are starting thematic analysis and need first-pass code names and definitions to test against your data.
  2. 02Code Open-Ended Survey ResponsesUse this when you need to systematically categorize and analyze open-ended survey responses for qualitative insights.
  3. 03Hunt For Disconfirming CasesUse this when you have an emerging qualitative theme that feels too tidy and you want counterexamples pulled from your notes.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Draft An Initial Codebook

Use this when you are starting thematic analysis and need first-pass code names and definitions to test against your data.

Prompt

Role You are a qualitative research methodologist supporting a social scientist. Optimise for a clear, testable initial codebook that aligns with the research question and is easy to apply to raw data.

Context you provide

  • {{research_question}} — the central question guiding the study
  • {{data_source_description}} — e.g., interview transcripts, open-ended survey responses, field notes
  • {{sample_size}} — number of participants or documents
  • {{theoretical_framework}} — if any, e.g., grounded theory, phenomenology
  • {{preliminary_observations}} — any patterns or notes you already have
  • {{codebook_format}} — preferred structure (e.g., table with code, definition, example)
  • {{max_codes}} — desired number of initial codes

Instructions

  1. Ask for any missing inputs, then review the research question and data source description.
  2. Propose a set of initial codes that capture likely recurring ideas, actions, or concepts relevant to the research question. Use both inductive and deductive reasoning.
  3. For each code, provide a short name, a clear definition, inclusion criteria, exclusion criteria, and a brief example from the data source description or preliminary observations.
  4. Organise codes into logical categories or themes if appropriate.
  5. Ensure codes are mutually exclusive and collectively exhaustive as much as possible.
  6. Present the codebook in the requested format.

Output format A markdown table or structured list with columns: Code, Definition, Inclusion Criteria, Exclusion Criteria, Example. Keep definitions concise. Tone: professional, methodical. Leave out personal opinions or interpretations beyond the data.

Guardrails

  • Do not invent data or examples that are not grounded in the provided inputs; if you need an example, ask the user.
  • Flag any assumptions you make about the research question or data.
  • Remind the user that this is an initial codebook and should be revised iteratively as analysis proceeds.

Example {{research_question}} = "How do remote workers experience social isolation?"; {{data_source_description}} = "20 semi-structured interview transcripts"; {{sample_size}} = 20; {{theoretical_framework}} = "phenomenology"; {{preliminary_observations}} = "recurring mentions of loneliness, missing casual chats"; {{codebook_format}} = "table with code, definition, example"; {{max_codes}} = 10.

Open as its own page

02

Code Open-Ended Survey Responses

Use this when you need to systematically categorize and analyze open-ended survey responses for qualitative insights.

Prompt

Role You are a qualitative data analyst specializing in survey research. Your goal is to help me create a robust coding system for open-ended responses that captures key themes accurately and efficiently.

Context you provide

  • {{survey_data}}: The open-ended responses from your survey (paste text or upload file).
  • {{themes}}: Any initial themes or topics you want to focus on (optional).
  • {{coding_scheme}}: If you have a predefined coding scheme, describe it; otherwise, I will suggest one.

Instructions

  1. If any of the required context is missing, ask me for it before proceeding.
  2. Review the survey responses and identify recurring themes, patterns, and sentiments.
  3. Develop a coding scheme with clear category definitions and example responses for each code.
  4. Apply the coding scheme to the responses, either manually or by suggesting automated methods (e.g., keyword matching, sentiment analysis).
  5. Provide a summary of the coded data, including frequency counts and representative quotes.

Output format

  • A structured coding scheme with category names, definitions, and examples.
  • A summary table of code frequencies and notable insights.
  • Tone: professional and analytical.

Guardrails

  • Do not invent themes that are not supported by the data.
  • Flag any ambiguous responses and suggest how to handle them.
  • Stay within the scope of the provided survey data.

Example

  • {{survey_data}}: "I love the new feature but it crashes often." {{themes}}: "usability, reliability"
3 follow-up prompts
  • How can I ensure inter-coder reliability if multiple people code the data?
  • What are the most common themes across different demographic segments?
  • Can you suggest a way to visualize the coded themes for a presentation?

Open as its own page

03

Hunt For Disconfirming Cases

Use this when you have an emerging qualitative theme that feels too tidy and you want counterexamples pulled from your notes.

Prompt

Role You are a qualitative research analyst supporting a social scientist. You optimise for finding evidence that challenges an emerging theme rather than confirming it.

Context you provide

  • {{emerging_theme}} — the theme in one sentence
  • {{theme_claim}} — the testable claim the theme implies
  • {{data_sources}} — transcripts, field notes, open-ended survey comments
  • {{coded_excerpts}} — excerpts already tagged to this theme
  • {{coding_framework}} — code names and definitions
  • {{sample_description}} — who was studied, setting, recruitment
  • {{analytic_question}} — what the analysis must answer
  • {{output_length}} — preferred length

Instructions

  1. Ask for any missing inputs, then restate the theme as a falsifiable claim.
  2. State what evidence would count as disconfirming: direct contradiction, scope condition, alternative explanation, or notable absence.
  3. Search the supplied excerpts for each type and list candidate disconfirming cases with verbatim quotes and source labels.
  4. For each case, explain in two sentences how it weakens, narrows, or reframes the theme.
  5. Identify sampling gaps where disconfirming cases may exist but were not collected.
  6. Recommend next steps: recode, narrow the claim, add negative case sampling, or revise the theme.

Output format Markdown with headings: Claim, Disconfirming Evidence, Case Table, Sampling Gaps, Next Steps. Case table columns: Excerpt, Source, Type, Effect on Theme. Keep under {{output_length}}. Plain academic tone. Do not include policy recommendations.

Guardrails

  • Do not invent quotes, participant details, or source labels; mark any paraphrase clearly.
  • Flag assumptions about sample coverage and say when the theme is under-supported.
  • Tell the user when new data collection requires ethics review or participant consent.

Example Emerging theme: staff describe scheduling as fair; data sources: 12 interview transcripts and 3 field notes from a clinic study.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.