Exporting Data
An instrument exports two ways: its collected submissions, with every answer, for analysis; and its design, as an XLSForm or a printable PDF.
Submissions with answers
Section titled “Submissions with answers”Export on a Submissions view downloads the submissions it lists: an instrument’s own Submissions page (the Submissions button in the designer header), or a collection plan’s Submissions tab. Narrow the list with the Filters pane first and the file holds exactly those submissions. From a plan, each instrument downloads as a file of its own, since each has its own questions. An attendance register exports differently: an Attendance sheet with one row per attendee per session (present or absent, the absence reason, and the register’s columns), and a Sessions sheet with each session’s counts. Attendee names are included only if you may view personal data in Data Framework; otherwise attendees are named by reference.
What the file holds
Section titled “What the file holds”One row per submission, starting with these columns:
| Column | Holds |
|---|---|
| Submission ID | The submission’s own id, which also keys the repeating-section sheets |
| Reference | The subject record’s reference. It is blank for programme-level collection |
| Deployment | The deployment it was collected under |
| Form version | The version of the form it was collected on |
| Status | Submitted, synced or flagged |
| Started / Submitted | When collection began, and when it was submitted |
| Completed by | Respondent: the respondent filled it in themselves with an access code. Field staff: an enumerator collected it |
| Submitted by | The collector. It is blank for a self-completed submission |
After those comes one column per question, in form order:
- Answers carry their option labels. A multi-select is its labels in one cell, separated by commas.
- A grid gets one column per row, headed
Question — Row. - An “Other, please specify” answer has its own column, straight after its question.
- Numbers stay numeric. A question left unanswered is a blank cell, so statistics software reads it as missing.
- A repeating section is summarised in one cell, and also gets a sheet of its own. That sheet has one row per repeat row, keyed by Submission ID, with Completed by on every row.
- Questions from older versions keep their place. A question reworded since keeps its column under its current wording. A question since removed comes after the rest, marked (no longer on the form).
Comparing collection modes
Section titled “Comparing collection modes”Completed by is stamped by the server when a respondent submits with an access code; nobody can set it by hand. To compare self-completed and enumerator results, filter or pivot on this column. In the repeating-section sheets every row carries it too.
What is left out
Section titled “What is left out”- Drafts, and submissions replaced by a recollection, so each respondent is counted once.
- Record names. Subjects are named by reference only. A record’s name is one of its attributes, and often personal data; the Data Framework record export carries those, under its own personal-data controls.
- Answers you are not cleared to see. An answer to a classified question shows as Restricted, never as its value.
Options
Section titled “Options”- Format: Excel (.xlsx), or CSV. CSV is UTF-8 with a byte-order mark, ready for R, Stata or SPSS. A form with repeating sections downloads one CSV per sheet.
- Which submissions: whatever the Filters pane narrows the list to — dates, form version, who collected them, a search, and from a plan, which instruments.
One export carries up to 50,000 submissions. Past that the file is cut short and you are told; narrow the filters to export the rest. Every export is recorded in the audit trail, with how many submissions it held, split by mode.
The workflow action Export Form Data runs the same export.
Elsewhere
Section titled “Elsewhere”The Responses sheet of a Data Framework record export lists each record’s submissions with the same Completed by column, but without the answers.
XLSForm Export
Section titled “XLSForm Export”Generate an XLSForm specification compatible with:
- KoboToolbox — Deploy directly to KoboToolbox for mobile collection
- ODK Collect — Use with Open Data Kit ecosystem
- SurveyCTO — Deploy to SurveyCTO servers
The file follows xlsform.org and holds three worksheets:
- survey — one row per question, with sections as
begin_group/end_grouprows and repeating sections asbegin_repeat/end_repeat - choices — the options for single-select, multi-select and grid questions, plus any labelled Likert scale
- settings — the form title, id and version
Validation rules become XLSForm constraint expressions; skip logic becomes relevant
conditions, on individual questions and on the section group for a conditional section. A
hidden question’s answer is discarded rather than submitted, exactly as in the Field Portal.
A range or rating question carries its bounds in the parameters column (start=1 end=5 step=1), which is where the specification puts them.
Grids and Likert scales. XLSForm has no grid type, so each grid is exported as a group
holding one select question per row, all drawing on the grid’s shared column list — the
standard ODK and Kobo idiom for a matrix. A Required grid becomes required on each row
question. A Likert scale with labelled points exports as a single-select over those points
(with the likert appearance); one without labels exports as a numeric range carrying its
bounds.
An “Other” option exports as the choice itself plus a follow-up text question, made
relevant by selected(${question}, 'other') — the standard ODK/Kobo idiom, and the same
separate-field shape the Field Portal stores it in. If the description is required, that
follow-up carries required: yes.
Deactivated rows and options are left out of the export, since the exported form is used to collect new data.
Observation checklists export too. Each checklist section becomes a group, and each item a
question chosen by its response type — yes/no and traffic-light become selects, a numeric scale
becomes a range, a measurement becomes a decimal with its unit in the hint. Observer guidance
becomes guidance_hint, and an item requiring photo evidence gains a photo question after it.
The merlstudio_ columns
Section titled “The merlstudio_ columns”Alongside the standard columns the file carries a few named merlstudio_…. ODK, Kobo and pyxform
ignore them; MERL Studio reads them back when you import the file again, so a form exported
from here and imported here returns intact rather than reshaped.
| Column | Records |
|---|---|
merlstudio_question_type |
The exact question type, where XLSForm collapses several onto one |
merlstudio_indicator_code |
The indicator a question feeds, by its registry code |
merlstudio_attribute |
The participant attribute a question fills in, by its machine name |
merlstudio_grid_row |
That a row question belongs to a grid |
merlstudio_other_for |
That a text question is the “please specify” field of an “Other” option |
merlstudio_scale_min_label / merlstudio_scale_max_label |
A Likert scale’s anchor text |
merlstudio_score (choices) |
An assessment option’s scoring weight |
merlstudio_is_other (choices) |
Which option is the “Other” escape hatch |
merlstudio_instrument_type, merlstudio_description, merlstudio_language (settings) |
The instrument’s own metadata |
merlstudio_subject_types (settings) |
The form’s subject record types, by machine name |
They are ordinary spreadsheet columns. Editing the file in Excel and deleting them costs you only the fidelity they carry — the import still works from the standard columns alone.
How to Export
Section titled “How to Export”- For the design: open the instrument in the designer, click Export in the header, and choose XLSForm (.xlsx) or Print / Export PDF
- For collected answers: click Submissions in the designer header (or open the plan’s Submissions tab), filter if you need to, and click Export
- Use the submissions export for analysis: Completed by splits results by collection mode
- CSV suits statistical software; Excel keeps repeating sections as tabs in one file
- Use XLSForm export when you need to deploy forms on KoboToolbox or ODK
- XLSForm goes the other way too — see Importing an XLSForm