Skip to main content

How do I de-identify student data from a classroom study platform so I can share it with co-investigators?

Replace every student identifier with a random study ID, keep the key linking IDs to students in a separate system, and coarsen timestamps and screen free text before export. Building this into a platform takes about 40 engineering hours, roughly $3,400 at $85 an hour. Your IRB and compliance office decide whether the result counts as de-identified.

What counts as identifying in classroom data

Removing names is not enough. Under FERPA, personally identifiable information includes indirect identifiers: details that, alone or combined, would let a reasonable person in the school community identify the student. In a 20-student classroom, a grade level plus a teacher plus one unusual score can be enough.

Before you design anything, sort every field your platform stores into one of four groups.

Field type Examples Risk Usual treatment
Direct identifiers Name, email, district student ID, login username High Remove; replace with a study ID
Quasi-identifiers School, teacher, grade, birth date, demographics High in small groups Coarsen, suppress small cells, or share separately
Timestamps and session metadata Login time, IP address, device ID Medium to high Convert to relative time; drop IPs and device IDs
Free text and media Chat logs, open responses, audio, uploaded images High and hard to predict Screen, redact, or exclude by default

The U.S. Department of Education’s Privacy Technical Assistance Center (PTAC) publishes guidance on de-identification terms and disclosure-avoidance methods. It is worth reading before you meet with your IRB.

Pseudonymous IDs and key separation

Give each student a random study ID when they enroll in the study, for example S-7F3K9Q. Never derive it from the district ID, a name, or a hash of either. Anyone who has the roster can run the same hash and reverse it.

FERPA’s research provisions allow a re-identification code, as long as the code is not based on the student’s personal information and the method is not shared with data recipients. Ask your compliance office how that applies to your study.

Where the key lives

  • Store the table that maps study IDs to students in a separate database or project, with its own credentials, readable only by named people on the PI’s team.
  • Give the analysis store and the export job no access to the key table at all. If the export code cannot read names, it cannot leak them.
  • Log every read of the key table, and have a written plan for destroying it when the data use agreement says to.
  • If co-investigators at several sites collect data, give each site its own ID prefix so IDs never collide and no site holds another site’s key.

Timestamps and free text: the two fields that leak

Exact timestamps are quasi-identifiers. Anyone who knows a class met at 10:15 on a given Tuesday can match sessions to a classroom, and a school calendar narrows it further. The usual fix is to replace clock times with time since the student’s first session: day 0, day 3, minute 14. Keep durations and order intact, because those are usually what the analysis needs.

Free text is the hardest field. Students type their own names, their friends’ names, their teacher’s name and their town into chat boxes and open responses. Automated name and entity detection catches most of it but not all, so plan for a human pass on a sample, or keep free text out of the default export entirely.

Removing fields cannot de-identify audio or video. If your study records voices, treat those files as identifiable and share them only under an agreement that allows it.

Designing the export

De-identification works best as a feature of the platform, not a script someone runs before a deadline. A built-in export produces the same file every time, records what was removed, and only needs one IRB review.

  1. Write a data dictionary that lists every field, its group from the table above, and how the export treats it. About 4–8 hours, with the PI.
  2. Add study IDs and move the key into its own store. About 8–16 hours on an existing platform, less if you plan it from the start.
  3. Build the export job: drop direct identifiers, convert timestamps, coarsen or suppress quasi-identifiers, exclude or redact free text. About 8–24 hours.
  4. Add a small-cell check that flags any group below the threshold your institution sets, such as one classroom’s demographic breakdown. Many use a minimum of 5 or 10. About 2–6 hours.
  5. Write a short export specification for the IRB and the data use agreement, describing exactly what leaves the platform. About 2–6 hours.

Worked example

Say a math-practice platform is piloted with 20 teachers and logs about 400 students. The export ships three files: an event log keyed by study ID with relative time, a student table with grade band and site only, and a separate free-text file that is excluded by default. On an existing platform that is roughly 40 hours, or about $3,400 at $85 an hour. Adding it after a pilot has already logged data costs more, because past records also have to be migrated and checked.

We took a research prototype to a district-approved classroom pilot with 20 teachers in two districts in under 30 days. Planning the data handling before the first login is what made that schedule possible.

Who decides what qualifies

Engineering makes de-identification possible; it does not certify it. Your IRB decides whether the shared data still counts as human subjects research. Your institution’s compliance or privacy office, and often the district’s own data agreement, decide what may leave the platform and on what terms.

Bring them the data dictionary and the export specification, not just a description of what you intend. Reviewers approve concrete field lists faster. If co-investigators need data that stays identifiable, such as records linked across years, that usually calls for a data use agreement rather than de-identification.

Frequently asked questions

Is removing names and emails enough to de-identify student data?
Usually not. FERPA treats indirect identifiers as personally identifiable when, alone or combined, they would let someone in the school community identify a student. School, teacher, grade, exact timestamps and free text all need review, and your IRB and compliance office decide what qualifies.

Can I use a hash of the student ID as the study ID?
It is risky. Anyone with the roster can run the same hash and match IDs back to students. A randomly generated study ID avoids that problem, as long as the mapping is stored in a separate, access-controlled system.

How should timestamps be handled in a de-identified export?
Convert clock times to time since each student’s first session, keeping durations and order. Exact dates and times can be matched to class schedules and school calendars. Drop IP addresses and device IDs entirely.

What do we do with chat logs and open-ended responses?
Treat them as identifiable until they have been screened, because students often type names and places. Automated detection plus a human check on a sample reduces the risk, but many studies leave free text out of the default export and share it only under a data use agreement.

How long does it take to build a de-identified export into a study platform?
Typically 20–60 engineering hours, depending on how many fields hold identifiers and whether study IDs already exist. Adding it after a pilot has logged data costs more, because past records also have to be migrated and checked.

Related answers

Planning to share pilot data with co-investigators?

We offer a free 30-minute review of your pilot plan or data-sharing design. Bring the prototype’s repository or a demo, your pilot timeline, and any IRB or funder data requirements. Start a conversation.