Research Playbook

Module 08 · Phase 2: Plan

Data collection

Clean data from the first row

Most of the time in a retrospective study goes into collecting data: opening charts, reading notes and imaging, and entering values. Mistakes made here cannot be fixed by good statistics later.

A good data collection setup has three parts: a data dictionary that defines every variable, a secure tool such as REDCap to store the data, and a small pilot that catches problems before you abstract hundreds of charts.

Define every variable before you open the first chart, then pilot 10 rows.

If two people reading the same chart would record different values, the definition is not finished. A 10-row pilot finds those gaps in an afternoon instead of after 300 charts.

You leave with: A data dictionary and a 10-row pilot30 min
Learn the framework

The core framework

Four steps to reliable data.

Do these after IRB approval and before full data collection.

STEP 01

Write the data dictionary

What exactly is each variable?

List every variable in your protocol, plus a study ID. For each one, record the name, a plain-language definition, the type, allowed values or units, where in the chart to find it and how to code missing data.

  • Use short, consistent variable names (e.g., age_years, bmi, ssi_90d).
  • Prefer coded choices (0 = no, 1 = yes) over free text.
  • Say which source wins when notes disagree (e.g., operative note over discharge summary).
  • Collect only the minimum necessary data your IRB approved.
STEP 02

Build it in a secure tool

Where will the data live?

Use an institution-approved tool such as REDCap rather than a spreadsheet on your laptop. Turn your dictionary into a form with validation (allowed ranges, required fields, dropdowns). Use study IDs, and keep the key linking IDs to medical record numbers in a separate, restricted file.

STEP 03

Pilot 10 rows

Does the form work on real charts?

Abstract 10 charts. Note every time a definition was unclear, a value did not fit the options or the information was hard to find. Revise the dictionary, then re-check those 10 rows.

STEP 04

Check agreement and keep a log

Would someone else record the same values?

Have a second abstractor independently code a sample of the same charts and compare. Resolve disagreements, update definitions and record every change in a decision log. Many studies report an agreement statistic, such as Cohen’s kappa, for key variables.

The data dictionary

What a good dictionary entry looks like.

Each row defines one variable. This is the document your co-abstractors, statistician and reviewers will rely on.

VariableDefinitionType and valuesSource in chartMissing
study_idUnique study number; no link to identity in this fileText, e.g., TKA-001Assigned by the teamNever missing
age_yearsAge at the date of surgeryInteger, 18–110Demographics / operative noteCode 999 (never leave blank)
diabetesDiabetes diagnosis documented before surgery0 = no, 1 = yesPre-operative H&P problem list9 = not documented
asa_classASA physical status1, 2, 3, 4, 5Anesthesia record9 = not documented
ssi_90dSurgical site infection within 90 days, by CDC criteria0 = no, 1 = superficial, 2 = deep, 3 = organ/spaceClinic notes, readmissions, cultures9 = no follow-up to 90 days
Illustrative entries. Use your own protocol’s variables and definitions.

Privacy

De-identification and data security.

Your IRB approval sets the rules. These are the habits that keep you within them.

Study IDs, not identifiers

Store data under study IDs. Keep the linking key (study ID to medical record number) separate, restricted and destroyed when the IRB says.

Dates

Full dates are identifiers under HIPAA. Where possible record intervals (days from surgery to event) or only the year, unless your IRB approved dates.

Free text

Notes can contain names and other identifiers. Avoid copying free text; if you must, scrub it before entry.

Approved storage only

No study data on personal laptops, personal email, unapproved cloud drives or consumer AI tools.

HIPAA Safe Harbor in one line.

Data is de-identified under Safe Harbor when 18 types of identifiers are removed, including names, record numbers, all dates except year, and small geographic areas, and the team has no actual knowledge that a person could be identified. Check what your IRB approved before relying on it.

Common pitfalls

What stalls projects at this step.

Each of these costs weeks or credibility. Most are easy to avoid once you can name them.

Collecting before the dictionary is done

Changing a definition halfway means re-abstracting every chart already done.

Free-text everything

Text fields are slow to clean and impossible to analyze without recoding. Use coded choices.

Blank means everything

Unrecorded, not applicable and truly zero are different. Give each a code.

Spreadsheets on personal devices

A lost laptop with unencrypted patient data can be a reportable breach. Use REDCap or other approved storage.

Skipping the pilot

Problems found after 300 charts cost weeks. Problems found after 10 cost an hour.

Silent definition changes

Undocumented changes make the Methods impossible to write honestly. Keep a decision log.

Your deliverable

Your data dictionary and 10-row pilot

Build the dictionary from your protocol, enter it in REDCap or your approved tool, then pilot it on 10 charts.

Template
DATA DICTIONARY

Study title:
IRB number and approved data elements:
Data tool (e.g., REDCap project name):
Linking key stored at / by:

VARIABLE | DEFINITION | TYPE / VALUES / UNITS | SOURCE IN CHART | MISSING CODE
study_id | unique study number | text | assigned | never missing
[exposure] |  |  |  |
[primary outcome] |  |  |  |
[covariate] |  |  |  |

Rule when sources disagree:
Date handling (dates, intervals or year only):

10-ROW PILOT
Date completed:
Abstractors:
Problems found (variable — problem — fix):
-
Average minutes per chart:
Estimated total hours for full sample:

AGREEMENT CHECK
Second abstractor:
Number of charts double-coded:
Key variables compared and agreement:
Disagreements resolved by:

DECISION LOG
Date — change — reason

Before you move on

0/7
Get BroBot feedback on it

Capstone exercise

Review your data dictionary with BroBot

Paste your data dictionary. BroBot checks whether each variable is defined tightly enough that two abstractors would record the same value.

BroBot checks for

  • Covers the protocol
  • Precise definitions
  • Types and values
  • Chart sources
  • Missing data codes
  • Minimum necessary and privacy
  • Pilot and agreement plan

BroBot research reviews are currently unavailable. You can still use the lesson and its template.

Never paste patient identifiers. BroBot gives educational feedback, not IRB, legal or statistical sign-off. Check journal and institutional rules at the source.