Glossary

Data Cleaning

Glossary

Data Cleaning

Data Cleaning

Introduction

Data cleaning is the systematic detection and correction or removal of bad records in research data before analysis: duplicate respondents, survey speeders and straight-liners, bots, failed attention checks, impossible values, and broken sessions. Every survey and every unmoderated study collects some of these, and every statistic downstream inherits whatever cleaning missed or, worse, whatever it silently removed. This article covers the standard screens for survey and study data, the pre-registered rules that separate hygiene from result-shaping, and the audit trail that lets anyone check the difference.

What is Data Cleaning in Product Research?

Data cleaning is the step between collecting responses and analyzing them, in which the researcher identifies records that shouldn't count (a respondent who completed a ten-minute survey in ninety seconds, a duplicate submission, a participant whose recorded session shows an empty room) and either corrects them, removes them under a stated rule, or flags them for sensitivity analysis. Surveys, panel studies, and unmoderated sessions all generate dirty data by default, and the platforms that run them (Ballpark among them) apply first-line quality controls in recruitment and completion, which reduces the load without removing the researcher's job. The purpose is honest signal; the danger is that cleaning is also the easiest place to shape a result, one plausible exclusion at a time. The discipline is therefore procedural as much as technical: rules decided before the data is seen, the raw file never edited, every exclusion logged and reported.

The Standard Screens

Duplicates and identity problems. The same respondent twice (retakes, panel overlap), multiple submissions from one device, and, increasingly, bots and survey farms: caught by identifiers, timestamps, fingerprinting, and the attention checks below. Recruitment quality upstream is the cheapest cleaning there is, one reason vetted panels with built-in quality controls beat open links.

Speeders and straight-liners. Completion far below the plausible minimum (a fraction of median duration is the working benchmark) and flat-lined grid answers signal attention checked out; both are standard, defensible exclusions when the thresholds were set in advance, and both are symptoms shorter instruments prevent.

Failed attention and consistency checks. Instructed-response items ("select 'somewhat agree'"), trap questions, and internal contradictions: powerful screens, used sparingly and fairly (one honest lapse shouldn't void ten minutes of good-faith answers; pre-decide how many failures exclude).

Invalid and impossible values. Ages of 250, negative durations, categories that don't exist: fix from source where the truth is recoverable, remove where it isn't, and trace the root cause, since impossible values usually indicate instrument or pipeline bugs that corrupted plausible values too.

Missing data, read before treated. Item-level gaps and drop-off aren't just holes to fill: where people abandon and what they skip is behavioral data (the attrition pattern), and whether missingness is random or systematic decides what any imputation can honestly do. Open-text and extreme numeric values get their own investigation rather than reflex deletion.

The Process Discipline

1. Write the rules before fielding.
Exclusion criteria, thresholds, and handling policies decided pre-data (ideally in the study plan) cannot be accused of chasing a result; the same rules invented afterwards, with results visible, always can be. This is pre-registration's logic applied to hygiene.

2. Never edit the raw file.
Cleaning produces a new dataset from an untouched original, via scripts or logged steps: the raw data is the evidence, the cleaned data is the exhibit, and the transformation between them must be reproducible.

3. Log every decision.
What was excluded, why, under which rule, and how many records each rule caught: the cleaning log (part of the study's audit trail) turns "we removed bad data" from an assertion into an inspectable claim.

4. Report the cleaning with the results.
Exclusion counts and criteria belong in the readout: they're sample facts, they affect interpretation, and their absence is the first thing a skeptical reviewer notices. Sensitivity checks (do conclusions survive with the borderline cases included?) close the loop.

The Bottom Line

Data cleaning is quality control with a conflict of interest: essential for signal, dangerous as a place to shape results, resolved by discipline: rules before data, raw files preserved, every exclusion logged, everything reported. Clean hard, clean transparently, and let the log prove the difference between hygiene and laundering, because both look identical in the final chart.

Further reading

For process and standards:

Articles:

1. Data Cleaning: A Step-by-Step Guide - Scribbr
The screens and sequence, with examples of validation, deduplication, and documentation.

2. Writing Survey Questions - Pew Research Center
Instrument craft that prevents dirty data at the source, the cheapest cleaning available.