Data cleaning software for field surveys
Data cleaning software for field surveys has to do more than generic data cleaning tools: check interviews while the team is still in the field, tie each problem to an interview and an enumerator, leave the raw data untouched, log every correction, produce code that rebuilds the clean data, and protect personal data. DataFlow is a desktop app built for that: it connects to SurveyLoopr, SurveyCTO and ODK Central, imports exports from KoboToolbox or any other tool, checks every sync, and exports a Stata do-file that replays every correction from the raw data.
By Mehrab Ali, founder of DataFlow · Updated 2 November 2026
Search for data cleaning software and most of what you find is built for customer databases and spreadsheets: matching company names, fixing address formats, merging records from two systems. Field survey data goes wrong in other ways. An enumerator rushes interviews, or a harvest goes in as kilograms instead of tonnes, and by the time anyone looks, the team has left the village. Cleaning survey data is mostly about catching those problems early and keeping a record of every fix.
What survey data cleaning software has to do
Run while the team is still in the field
A problem found on the day it happens can be fixed with a phone call or a revisit. The same problem found after fieldwork ends can only be dropped or guessed at. Survey cleaning software has to pull new interviews as they arrive and check them every day, not once at the end.
Tie every problem to an interview and an enumerator
“Twelve outliers in income” isn't actionable. “Seven of them from one enumerator, all this week” is. Every flag needs the interview it came from and the person who did it, and the checks need to be read per enumerator, compared with the others working in the same area.
Never overwrite the raw data
The data as it arrived from the field is the evidence. Corrections should sit on top of it, so any one of them can be undone and anyone can see what the enumerator first recorded.
Log every correction
Who changed which value, from what to what, when and why. Without that, a reviewer, a client or a journal has no way to tell a correction from a convenient change.
Produce cleaning code someone else can run
The clean dataset should be rebuilt from the raw data by code that someone else can run and get the same result. For many research teams that code is a Stata do-file.
Protect personal data
Survey data holds names, phone numbers, GPS points and comments that identify people. The software should find them, keep them apart from the data everyone works on, and leave them out of anything shared unless someone deliberately unlocks them.
Know the form
Surveys come with a questionnaire, usually an XLSForm, that already says which answers are allowed, which codes mean “don't know”, and which questions repeat for each household member. Good survey software reads it, so the checks start from the form instead of a blank page. It should also handle back-checks, where a second team revisits some households to confirm the answers.
Why generic data cleaning tools and data quality software fall short
OpenRefine is a free, open-source tool for messy data. It groups inconsistent spellings of the same village, splits and reformats columns, and keeps a history of operations you can replay on another file. It works on a file you load, though, not on interviews arriving each day, and it has no idea what an enumerator, a form or a back-check is.
Excel is where most teams start. Filtering and sorting a few hundred interviews is quick. But an edit overwrites the cell, nothing records who changed it or why, and checks done by hand are done slightly differently each day. Linking a back-check to the main survey means lookups that break easily.
Enterprise data quality tools and data validation software are built for business databases and data pipelines: profiling tables, enforcing validation rules, matching records across systems. They don't read an XLSForm or compare an enumerator with their team, and they expect an IT team to set them up and run them.
The approaches compared
Each of these works for someone. They differ in how much of the list above they cover during fieldwork, and how much staff time that takes.
| Approach | Good at | Where it falls short in fieldwork |
|---|---|---|
| Stata do-files and ipacheck | Flexible and familiar to economists. IPA's ipacheck gives a standard set of high-frequency checks with Excel output, and ipabcstats compares back-checks. The do-file is the cleaning record. | Needs someone who can write and maintain Stata code, and runs only when someone runs it. Personal data handling is up to you. |
| R scripts | Free, flexible and reproducible. ruODK reads ODK Central directly. | Most teams write their checks from scratch, and the scripts depend on the person who wrote them. |
| Excel | Everyone has it. Quick for filtering a small batch. | Edits overwrite values with no log, checks vary from day to day, and linking surveys is fragile. |
| The survey platform's own tools | Stop errors at entry with constraints. Review states, and in SurveyCTO automated quality checks and a correction log. | Mostly one field or one submission at a time. Little comparison across surveys, and the tools stay on that platform. |
| Generic data cleaning tools | Messy text, inconsistent spellings, reformatting. OpenRefine keeps an operation history. | No idea of forms, enumerators, daily batches or back-checks. |
| DataFlow | Connects to SurveyLoopr, SurveyCTO and ODK Central, sets up checks from the form, runs them on every sync, reads them by enumerator, keeps the raw data, logs corrections and exports a do-file. | A desktop app, not a server. KoboToolbox and other platforms come in as file imports. Paid after the free trial, though the sample study stays free. |
If your team already runs ipacheck well and has someone to maintain it, you may not need anything else. The guides for SurveyCTO, ODK Central and KoboToolbox describe the routine whichever tool runs it.
What DataFlow does
DataFlow is data cleaning software for field surveys. It runs on Windows, macOS and Linux, and it works alongside your collection platform rather than replacing it.
Connects to the platform you already use
SurveyLoopr, SurveyCTO (encrypted forms too) and ODK Central connect directly; CSV and Excel exports from KoboToolbox or any other tool can be imported. DataFlow reads from your server and never writes to it, and new interviews can arrive on a timetable you set. See integrations.
Checks set up from your form
When you add the XLSForm and the data, DataFlow suggests and adds the checks itself, and runs them on every sync:
- Duplicate IDs
- Interviews too short or too long
- Outliers by interquartile range or standard deviations, within villages or teams if you choose
- Ranges, including the form's own constraints
- Missing answers, and interviews with too many don't-know or refusal answers
- “Other, specify” answers that fit an existing option
- Your own rules in XLSForm syntax, and impossible combinations picked from a cross-tab
- GPS: missing or inaccurate points, interviews far from their village, and journeys between interviews no one could make
Checks that would flag more than 5% of interviews arrive switched off, so a noisy check doesn't bury the real problems. Each flag says which rule fired, with what threshold. The high-frequency checks guide explains each check.
Enumerators and back-checks
Six statistical signs of made-up interviews per enumerator, such as near-copies of other interviews and answers that barely vary, each compared with the others working in the same area. Back-checks are linked to the main survey and compared question by question, the way ipabcstats does, with differences counted per enumerator, per back-checker and per question.
Corrections on top of the raw data
The raw data is never modified. The clean data is rebuilt from it plus the corrections you approve, so each correction can be undone. Every change records who, when and why in an activity log where each entry is chained to the one before, so editing history breaks the chain. Every download includes a Stata do-file that replays each correction from the raw data, and there are R, Excel and CSV downloads too. DataFlow grew out of arceddataflow, ARCED Foundation's Stata workflow, and its duplicate and outlier checks are tested to flag exactly what arceddataflow flags.
Personal data and privacy
Survey data stays on your computer, encrypted. DataFlow finds personal data in the form and in free-text answers, and moves it to a separate encrypted store; downloads leave it out unless someone unlocks it, and that is logged. A local AI explains flags and prepares fixes for you to approve. It runs on the computer, offline once its model is downloaded, and never makes up numbers: DataFlow counts, the AI explains.
A report the client can open
A Field Report is one HTML file with progress, every check and how each problem was handled. It opens in any browser without a login, and you choose what it holds before you share it.
Pricing
Monthly is $19 per seat a month. Team is $99 a year with five seats. Every feature is in every plan, and the sample study, 600 interviews with real-looking problems, is free without an account. See pricing and the full list of features.
When something else fits better
- Your data isn't from surveys or forms: a customer database or sales records. A generic data quality tool suits that better.
- You are cleaning one finished dataset once, with no fieldwork to monitor. OpenRefine or a script may be all you need.
- You collect on KoboToolbox and need a direct server connection. DataFlow imports Kobo exports today, but doesn't connect to Kobo directly.
Questions
What is the best data cleaning software for survey data?
It depends on your team. If you have someone who maintains Stata code, ipacheck and do-files work. If you want checks set up from the form and run on every sync, with corrections logged and a do-file produced for you, use software built for field surveys, such as DataFlow. Generic tools like OpenRefine and Excel suit one-off cleaning better than fieldwork monitoring.
Can I use OpenRefine or Excel to clean survey data?
Yes, for parts of the job. OpenRefine is good at fixing inconsistent text and keeps a history of its operations. Excel is quick for filtering a small batch. Neither checks interviews as they arrive, reads results by enumerator, or keeps a log of who changed what and why.
Does DataFlow change the data on my survey server?
No. DataFlow only reads from SurveyLoopr, SurveyCTO and ODK Central. Corrections are kept in DataFlow on top of the raw data, which is never modified.
Does my survey data leave my computer?
No. DataFlow runs on your computer and keeps project data encrypted there. Interviews come from your own survey server and aren't sent anywhere else, and the local AI works offline.
Can I get the cleaning code for Stata or R?
Every download includes a Stata do-file that replays each correction from the raw data, with the full correction log. R downloads come as CSV files with a script that adds labels.
How much does DataFlow cost?
Monthly is $19 per seat a month; Team is $99 a year with five seats. Every feature is in every plan, and the sample study is free without an account.