Export & data

Data Hub

The Data tab is where responses live once your survey starts collecting them — headline numbers, individual respondent inspection, file delivery to analysts, and pulling outside data in. Four tabs, one Datamap Designer, and a pair of import workflows for backfills and appended batches.

The Data tab sits in the app-level nav across the top of every project — Builder · Assets · Quota · Simulator · Data · Fieldwork · Reports · Translations · Theme · Settings.

Everything under it is organised across four tabs:

The Data screen with the four tabs

  • Overview — headline numbers and shortcuts
  • Data view — one row per respondent
  • Export — build a file to send to an analyst
  • Import — bring outside data in

Under Export and Import, a left sub-nav picks the specific workflow — the Export wizard vs the Datamap Designer, or Data import vs Mid-field import.

1. Overview — headline numbers and shortcuts

Overview answers the “how’s fielding going” question at a glance.

Overview tab with stat tiles, Export/Import cards, and Recent exports

Five stat tiles across the top give you the headline numbers:

  • Respondents — total, split into live and test. Live is real; test is what the Simulator generated.
  • Complete — the number who finished, plus how many are still in progress.
  • Terminated — screenouts, plus the terminate rate as a percentage of starts.
  • Variables — total variable count in the wide export (a stability check — if this jumps unexpectedly you probably changed the DSL).
  • Exports run — how many files you’ve generated so far.

Below the tiles are two big cards — Export and Import — that jump you straight into those workflows. Under them, Recent exports shows the last few files you generated: format, filename, scope (which respondents were included), row count, size, and when it was made. Click a row to re-download the exact file.

That’s the whole Overview page. Everything else lives on the tabs below.

Live vs Test. Every screen in the Data Hub honours a Live/Test toggle. Live = real respondents from your live URL. Test = respondents the Simulator produced. Both use exactly the same screens and export machinery — the only difference is which set of responses is being read.

2. Data view — inspect and correct individual respondents

Overview gives you totals. Data view gives you individuals.

Walkthrough: browsing respondents, filtering by status, opening one to inspect answers. Click play to start; scrub the bar or use ← → to skip.

The tab opens as a scrollable table — one row per respondent, one column per variable — with a header bar that has three filters and a search box:

  • Search respondent ID — jump straight to a specific respondent when you know which one you’re looking for
  • Status filter — All statuses / Complete only / Terminate only / Quotafull / In progress
  • Environment filter — All respondents / Live — published / Test — sim (also filters by any custom source label from an Import batch)
  • Variable filter — narrow the columns shown (useful when a survey has 225 variables and you only care about screener answers)

The table shows a Source column (live / test / an import label), record (the analyst-facing case number), respondentId, status, and then every survey variable in order.

Double-click any cell to edit it. Corrections are called data edits — they’re stored as an overlay on top of the original answer (the original is never rewritten). Two things this buys you:

  • Every export you generate after the edit picks up the corrected value automatically — you don’t need to remember to re-run anything downstream.
  • An audit trail persists — anyone looking at the file can see both what the respondent submitted and what the edit changed it to, along with who edited and when.

Marking a respondent for exclusion works the same way. It’s a soft delete — the row stays in the database but every count and every export skips it. Restorable if you change your mind.

3. Export — create a delivery file

The Export tab is a wizard. You make a series of choices on the left, the right-hand panel shows a live preview of what the file will contain, and a Generate button at the bottom produces the download.

Export wizard with the file summary panel on the right

Step 1 — pick the format

Four buttons across the top, each with its file extension underneath: SPSS .sav · CSV .csv · Excel .xlsx · ASCII .dat. If your analyst hasn’t specified, SPSS is the market-research industry default.

SPSS is the only one with a sub-choice — pick it and two radio buttons appear beneath:

  • .sav (Standard SPSS file) — a single SPSS binary. Open directly in SPSS or read with pyreadstat in Python / haven in R. Preferred if your team lives in SPSS.
  • .dat + .sps (Data file + syntax file) — the classic SPSS pair: raw fixed-width data plus an SPSS syntax file that reads the data and applies all the labels. Editable in any text editor. This is what most MR pipelines expect.

The Formats page has the full comparison if you need to weigh the trade-offs.

Step 2 — pick the variables

Three toggles:

  • Variable content: All / Closed-end / Open-end — deliver everything, only coded answers, or only free text.
  • Open-end handling — a toggle to truncate long open ends. Off by default (full text). Turn on for a delivery where you want to cap free-text length (typical: 500 characters, to avoid accidental PII leakage from a respondent who typed a paragraph).
  • Export template — apply a saved datamap layout. See the Datamap Designer section below for how to build one.

Step 3 — pick the respondents

The Respondent filters section below the format lets you narrow who’s included. Three areas:

  • Completion status — All / Complete only / Terminate only / Quota full only / In progress. For a delivery, usually Complete only.
  • Environment — Live (published) / Test (simulator). The panel underneath the toggle spells it out: “Live = respondents from the published link. Test = data generated by the Simulator.”
  • Filters — an expandable panel labelled “Partial export · Variable filter” for building more targeted cuts (e.g. only respondents where S3 == 1, or a specific date range on interview submission).

Step 4 — name the file

Just above the Generate button, Export file name lets you set the filename. Defaults to a survey-specific name with the format extension appended automatically. Rename for a client-facing delivery: wave3_brandtracker_completes becomes wave3_brandtracker_completes.sav.

Step 5 — read the summary panel

The right-hand Export summary panel updates in real time as you change the choices on the left. When everything’s valid it shows a green ✓ No issues; if you’ve picked something contradictory (e.g. rating scale required but not set on a CBC), the summary flags it here before you run.

Fields shown:

  • Format — the file type, with a chip showing the sub-format (e.g. SPSS-SAV)
  • Variables — how many are in the file
  • Respondents — how many rows, with a filtered chip when a filter is narrowing them from the total (e.g. 143 of 550)
  • Filters — a plain-English recap of the selected filters (e.g. complete · test)
  • Open-ends — full text or truncated
  • Companion files — CBC/MaxDiff long files or loop stacks that ship alongside the main file
  • Est. main size — rough file size for the pending download

Underneath, Files in this export lists every file that will be in the bundle (usually just the main file, but exports with long companions come as a ZIP with two or more), each with a download button.

Step 6 — Generate

Click Generate. The file drops into the Recent exports table below the summary (and on the Overview tab) and starts downloading. That’s it.

4. Datamap Designer — customize the file layout

Different analysts want the file in different shapes. Some teams want variables in a specific order, with codes rather than labels; SPSS analysts want measure levels set explicitly; some teams want everything renamed to an internal naming convention. The Datamap Designer is where you set that up once and save it as a template.

You reach it from the Export tab’s left sub-nav: click Datamap Designer under TEMPLATES.

Datamap Designer — Grid view showing the variable list with type, measure, and position columns

The screen is a single big table where each row is a variable. Above it, two rows of controls:

Top row (view + save):

  • A template picker (— none (survey order) — by default) — switch between the survey’s saved templates.
  • Grid / Text — the table view (Grid) vs a raw text dump of the datamap (Text — what your SPSS analyst wants to eyeball).
  • prefix labels — checkbox that toggles code prefixing in value labels (1 = Male vs just Male).
  • Survey order — a button to reset variable order to the DSL author order (if you’ve been reordering).
  • Revert — throw away all unsaved edits.
  • + Save as template — persist the current layout so it appears in the Export wizard’s Export template dropdown.

Second row (role filters):

  • Identifiers (4) — respondentId, record, source, status
  • Answers (177) — the actual survey responses
  • Open-ends (5) — free-text columns
  • Paradata (39) — device, entry URL, LOI, timing

A filter input on the right of that row narrows the visible rows by name or type (“filter by name or type — e.g. QBrand, single, multi, open…”).

Columns of the table itself:

  • VARIABLE — the export column name. Defaults to the qid; rename if your team has a naming convention.
  • QUESTION TEXT — the label. Defaults to the DSL text:; edit to match your codebook style.
  • TYPE — the underlying question type (read-only).
  • MEASURE — the SPSS measurement level: Nominal / Ordinal / Scale. Defaults follow the rule; override per variable with the dropdown.
  • AXIS (CODE · LABEL) — the value-label mapping. Edit here to alias a specific code’s label without changing the DSL.
  • WIDTH · START · END — position and byte width in the fixed-width record. Auto-calculated; edit if a legacy pipeline needs a specific layout.

At the very bottom, a status bar summarises the state: ● positions valid · N in template on the left (a red dot appears if any variable has a broken position), and Record length: N cols · N vars on the right — the fixed-width record length matters when your downstream tool (Quantum, custom ASCII pipeline) has a column limit.

Once you’ve got the layout you want, click + Save as template at the top right. The template appears in the Export wizard’s “Export template” dropdown; anyone else exporting this survey can pick it and get the same shape.

A template captures layout, not filters. Which variables, in what order, with what labels — those come from the template. Which respondents are included, whether open-ends are truncated, whether long companions are attached — those are choices you make each time on the Export wizard, and are not saved as part of the template.

Text view — edit the same template as plaintext

The Grid / Text toggle at the top switches between the table above and a plaintext editor showing the same template as one line per variable. Same toolbar, same role chips, same Save.

Datamap Designer — Text view showing the plaintext template

The grammar is one line per variable:

name  [= altlabel]  [w<width>]  [@<forceStart>]    # question text
  • name — the variable’s export name.
  • = altlabel (optional) — alias the variable’s label. S1 = country shows in the codebook as country while the underlying qid stays S1.
  • w<width> (optional) — override the fixed-width field size in bytes. hMarket w4 reserves 4 columns.
  • @<forceStart> (optional) — force this variable to start at a specific column position in the ASCII record. Used when a legacy pipeline expects S1 at column 32 no matter what.
  • # question text — everything after # is the codebook description; edit freely.

The three operations you’ll actually do here:

  • Reorder — cut and paste lines. Order in the file is order in the export.
  • Delete — remove a line to drop that variable from the template. Some system variables (like respondentId) show [locked] and can’t be removed.
  • Add — type any survey variable name on its own line to bring it back in.

Text view is what teams used to editing raw datamap templates reach for reflexively — it’s the shape their existing authors already read. Grid is friendlier for anyone new to the concept. Both edit the same underlying template; switch freely, and Save persists whichever view you’re on.

5. Import — add outside data

Not every respondent goes through your Fieldbase URL. Panel refills come as CSVs from the vendor. A colleague fielded a small offline pilot. A coding error needs backfilling. The Import tab handles all of these — three workflows in the left sub-nav:

  • Data import — append a batch of new respondents. The common case.
  • Mid-field import — write into existing respondent records. Fixes and backfills.
  • Recode & derive — post-field variable creation. Coming soon.

Data import — add new respondents

Use this when the file is a batch of respondents that don’t exist in the survey yet — an offline pilot’s export, a partner vendor’s completes, a set of respondents from another system.

Data import tab with the file drop zone and dataset summary

The steps:

  1. Drop a CSV file into the drop zone. The file must be wide format and its columns must match the survey’s variable structure — unknown columns are rejected on validation.
  2. Give the batch a label — e.g. vendor_b_march_w3. The label attaches to every imported respondent as a filterable source, so you can later isolate this batch in Data view or exclude it from an export.
  3. Optional: add a wave tag — e.g. Wave 3. Links these respondents together for combined analysis.
  4. Click Validate — the platform checks the file against the survey’s variable structure and reports any column mismatches before touching your data.
  5. If validation passes, click Import — the file is appended.

The respondent-ID rule for Data import: if the file has no respondentId column, every row becomes a new respondent with a freshly generated ID. If it has one, rows whose ID already exists (live or previously imported) are skipped — you use Mid-field import (below) to update those.

The right-hand Dataset summary panel shows the running total after each import — total respondents, imported records, variables, import batches.

Mid-field import — write into existing records

Use this when the respondents already exist and you need to write into them. Backfilling a variable that was added after the survey went live. Fixing a coding error that affected a specific batch. Merging in a variable computed offline by an analyst.

Mid-field import with revertible-overlay warning and Merge / Overwrite radios

The screen looks like Data import but has meaningfully different semantics — it opens with an amber warning that spells them out:

Updates existing respondent records. Writes are a revertible overlay — originals are preserved and every change is reversible from the Data view — yet they appear in all exports. Always Validate before confirming.

The steps:

  1. Drop a CSV file. It must have a respondentId column plus the variables you want to write. Only those variables — you don’t need to include every column in the survey.
  2. Match respondents by — defaults to respondentId. Every row of the file has to line up to an existing respondent by this key.
  3. Pick a write behaviour:
    • Merge — only write where the import file has a value. Leave existing data untouched where the import cell is empty. Use for a partial backfill (a single new column, an OE recode).
    • Overwrite — replace the current value in every matched record, including blanking a cell when the import value is empty. Use only when the import file is authoritative for the columns it contains.
  4. Click Validate — the platform checks the file against the schema, reports any unknown columns or unmatched IDs, and shows you a preview of what will change before you commit.
  5. Confirm — the writes go through as a non-destructive overlay. The original respondent-submitted value is preserved; every subsequent export applies the correction on top. You can revert any specific edit from Data view.

Rows whose ID isn’t found in the survey are reported (they aren’t inserted — for that you use Data import).

Why an overlay and not a rewrite. Data edits — whether from the Data view screen or a Mid-field import — never rewrite the original respondent-submitted value. The change is applied on top when the file is exported, so downstream tools see the correction, but you can always see what the respondent actually said and undo the edit later. That's the audit-trail contract every Fieldbase edit follows.

What ends up in the file

The file the Export tab produces follows a consistent set of rules — how variables are named, what missing means, how CBC and MaxDiff are laid out, what metadata SPSS carries. Those aren’t unique to any one delivery; they’re contracts you can rely on across every survey.

  • Column naming — how each variable is named in the file (Q1r1o2 etc.)
  • Long format — the companion files that ship alongside the main file for CBC and MaxDiff
  • SPSS labels — variable labels, value labels, and measurement level in .sav and .sps
  • Tri-state projection — why some cells are blank rather than zero, and what that means

Corrections you make from Data view or Mid-field import are always applied before the file is written, so the delivery reflects the state of the data as it stands now — not what respondents originally submitted.

See also