Skip to content

Survey data processing: the steps from raw data to tables

Survey data processing (DP) is the work of turning raw survey responses into a clean, analysis-ready dataset and the tables built from it. In market research it covers the data map, removing poor-quality responses, recodes and nets, coding open ends, weighting, derived variables, tab specs and banners, and quality checks on every output.

Roger Sanborn
Roger Sanborn

Chief Product Officer · Updated July 8, 2026

Part of the guide Automated reporting

Fieldwork has closed. You have a file of 1,200 completes, a questionnaire and a deadline for the first tables. Between those two points sits survey data processing (DP), the unglamorous work that decides whether anyone can trust the numbers. This guide walks through each DP step in the order research teams run them, with a checklist and a worked weighting example. It is one part of the wider workflow covered in our guide to automated reporting.

Key takeaways

  • Survey data processing turns raw responses into a clean, weighted dataset and a set of tables that match the questionnaire.
  • Run the steps in order: data map, cleaning, recodes and nets, open-end coding, weighting, derived variables, tab specs, QA.
  • Clean before you weight, and document every rule so the next wave or analyst gets the same result.
  • In trackers, keep variable names, definitions and code frames fixed across waves.
  • Save cleaning rules, recodes and tab specs as templates so repeat work runs the same way every time.

What is survey data processing in market research?

Raw survey data is rarely fit to analyze. It contains people who rushed, duplicates, codes that do not match the questionnaire and free-text answers. Survey data processing fixes all of that before anyone reads a percentage.

The inputs are the raw data file, the questionnaire and the sampling plan. The outputs are a clean dataset, a data map that explains every variable, and a set of tables, usually crosstabs with the key audiences across the top.

What are the steps of survey data processing?

  1. Data map and variable naming. List every variable with its question text, codes, labels and base. Use short, consistent names (Q5_1 to Q5_8 for a grid) so scripts and tab specs can find them.
  2. Cleaning. Remove speeders, straightliners, duplicates and out-of-range values. Many teams flag anyone who finishes in under a third of the median time, but agree your own thresholds before fieldwork closes.
  3. Recodes and nets. Group answers into reporting categories: age bands, top-two-box, “any competitor” nets. Keep the original variable and create a new one.
  4. Coding open ends. Build a code frame from a sample of answers, code every response, then net codes into themes.
  5. Weighting. Adjust the sample so its profile matches known population targets, such as region, age or gender.
  6. Derived variables. Create segments, indexes and flags from several questions, such as “category buyer in past 3 months.”
  7. Tab specs and banners. Write down which rows, banners, bases, statistics and significance tests each table needs (see how banner tables are built).
  8. QA checks. Compare tables against the questionnaire, the raw data and the previous wave before anything leaves the team.

What belongs on a DP checklist?

StepWhat to checkPass when
Data mapEvery question has a variable, label and code listNo unlabeled codes; names match the tab spec
CleaningSpeeders, straightliners, duplicates, out-of-range valuesRemoval counts logged by rule
Recodes and netsEach net adds up from its partsNet count equals the count of people choosing any part
Open endsCode frame covers the answers”Other” stays small; codes are applied consistently
WeightingWeighted profile versus targetsWeighted shares match targets; no extreme weights
Derived variablesLogic matches the written definitionSpot checks on individual respondents agree
Tab spec and bannersBases, filters, statisticsBase sizes match routing in the questionnaire
QATotals, previous wave, sense checkA second person has signed off

How do you clean and weight a survey dataset?

The numbers below are illustrative, not from a real study. You have 1,200 completes from a consumer survey in one market, split across four regions.

Cleaning. Your rules flag 45 speeders and 30 straightliners on the main grid, with no respondent caught by both rules.

StageRespondents
Completes received1,200
Remove speeders−45
Remove straightliners−30
Clean sample1,200 − 45 − 30 = 1,125

Weighting. Your clean sample over-represents the North and Central regions and under-represents the South. Each group’s weight is its target share divided by its sample share.

RegionSample nSample %Target %WeightWeighted n
North22520%18%18 ÷ 20 = 0.90225 × 0.90 = 202.5
Central27024%18%18 ÷ 24 = 0.75270 × 0.75 = 202.5
South36032%40%40 ÷ 32 = 1.25360 × 1.25 = 450
West27024%24%24 ÷ 24 = 1.00270 × 1.00 = 270
Total1,125100%100%1,125

The weighted total still equals 1,125, so the base size does not inflate. Now see what weighting does to a result. Suppose the share who would recommend the brand is 40% in the North, 30% in Central, 50% in the South and 45% in the West.

  • Unweighted: (225 × 0.40 + 270 × 0.30 + 360 × 0.50 + 270 × 0.45) ÷ 1,125 = 472.5 ÷ 1,125 = 42.0%
  • Weighted: (202.5 × 0.40 + 202.5 × 0.30 + 450 × 0.50 + 270 × 0.45) ÷ 1,125 = 488.25 ÷ 1,125 = 43.4%

The South recommends most and is under-sampled, so weighting lifts the total by 1.4 points. On a tracker, that is the difference between a flat wave and an apparent gain.

How does data processing work for trackers?

A tracker only works if wave 12 is processed exactly like wave 1. In multi-wave studies, the first problem we usually see is drift: a net redefined, a variable renamed or a code frame rebuilt from scratch, and suddenly a trend line moves for reasons that have nothing to do with the market.

  • Freeze variable names and net definitions; add new variables rather than editing old ones.
  • Keep the code frame continuous. Add new codes at the end and never reuse a retired code number.
  • Change weighting targets only when the population genuinely changes, and note the wave where it happened.
  • Rerun the previous wave through the current rules to confirm it reproduces the published numbers.

For the reporting side of repeat waves, see how to automate tracker reporting.

Should DP sit with an agency team or in-house analysts?

Agency DP teamIn-house analysts
StrengthSpecialist speed on large, complex tab specsClose to the business questions
RiskRules live in the agency’s scriptsProcessing competes with analysis time
Best fitWide studies, many markets, tight turnaroundsSmaller studies, frequent ad hoc cuts

Either works if the rules are written down and shared. Agencies that process for many clients also need each client’s rules and data kept apart; mTab for agencies offers one governed place to deliver client programs and automate recurring readouts, with access controlled by client.

How do you automate survey data processing steps?

Most survey data processing repeats. The same cleaning rules, recodes, nets and banners apply wave after wave, so write them once and save them:

  1. Store cleaning thresholds as rules that run on every new file and log their counts.
  2. Keep a recode and net library keyed to the data map.
  3. Save tab specs and banners as templates, so a new wave produces the same tables.
  4. Script the QA comparisons against the previous wave.

The tabulation end is where purpose-built crosstab software saves the most time. Running crosstabs and banner tables with weighting and significance testing in one tool keeps the weighting step and the banners together instead of in separate scripts. For the recurring reporting that follows, governed AI workflows with sources attached and a person approving keep a human in charge of what goes out. The wider case for this is in automated market research.

What are the common mistakes in survey data processing?

  • Weighting before cleaning. Removing cases afterward breaks the weighted profile.
  • Overwriting original variables. Recode into new variables so you can always trace back to the raw answer.
  • Undocumented cleaning rules. If nobody can say why 75 cases were removed, nobody can reproduce the result.
  • Letting “Other” grow. A large uncoded group usually means the code frame needs new codes.
  • Ignoring extreme weights. A few respondents with very large weights make results unstable; cap them or revisit the targets.

What should you do next?

For your next study, build the data map before fieldwork starts, then write your cleaning rules and tab spec against it. When the data arrives, you process instead of improvise. Then turn those tables into a story with our guide to market research reporting.

Frequently asked questions

What is data processing in research?

It is the stage between fieldwork and analysis where raw responses are checked, cleaned, coded, weighted and organized into variables and tables. The aim is a dataset that matches the questionnaire, reflects the target population and gives the same answer every time it is tabulated.

How long does survey data processing take?

It depends on questionnaire length, the number of open ends and how many banners you need. A short ad hoc study with a reused tab spec can be turned around quickly; a new multi-market tracker takes much longer the first wave, then far less once rules and templates exist.

Should you remove speeders before or after weighting?

Before. Cleaning changes who is in the sample, so weights calculated first would be wrong once low-quality cases are removed. Clean, then weight the final sample, then check that the weighted profile matches your targets.

What does a market research data processing team deliver?

Usually a cleaned and weighted data file, a data map describing every variable, coded open ends with the code frame, and a set of banner tables built from an agreed tab spec. Many teams also deliver a QA log showing what was checked.

See your recurring reporting in mTab.

Bring a tracker with a few waves. We'll show you the reports, the readouts Flows can draft, and the review step before anything goes out.

Book a demo