Export builder and formats for statistics
The forms and variables you need, a row per visit or per patient, in SPSS, Stata, SAS, R, Excel or CSV.
The plain export gives the whole study. The export builder gives exactly what the analysis needs: the forms and variables you pick, a row per visit or a row per patient, in the format of your statistics package. Variable and answer labels, numbers and dates are already in place, with nothing to recode.
How to build an export
- Open Data export and press Export builder. The statistician opens the builder from the data cuts page.
- Data: the study's live data or one of its cuts. A cut gives the same numbers at every download, so a statistical analysis is better taken from a cut.
- Forms and variables: tick the forms; a form's variable list unfolds, and All and None help to choose. If you wish, add the status, source and save time of each form, the events table with visit dates and windows, and the consents table.
- Layout: long or wide.
- Format and Download.
How a field becomes variables
- Numbers stay numbers, whole ones without decimals. Dates and date-times become dates of the package.
- Yes / no, one answer of a list: a number with answer labels when the answer codes are numbers; text otherwise.
- Several answers: a variable with the codes separated by commas, and a 0 / 1 variable per answer.
- “No data” marks (ND, UNK, NA) do not fit a number column, so such a field gets a
_NDvariable. - Why there is no data: when the site gave reasons for the marks of a field, a
_NDREASONvariable comes next to_NDwith the codes ROUTINE, NOTREC, REFUSED, NA, UNK, and empty where no reason was given. - The wide layout labels a variable with its visit:
SBP_V1“Systolic BP · Screening”. When the same field code is in two forms, the form code goes in front:VS_SBP_V1.
Formats
| Format | What is in the file | Names |
|---|---|---|
| SPSS (.sav) | a file per table with variable and answer labels | up to 64 characters |
| Stata (.dta) | a file per table with variable and answer labels | up to 32 characters |
| SAS (.xpt) | a v5 transport file per table and the read_data.sas program with the answer formats | up to 8 characters |
| R | a CSV per table and the read_data.R script: labelled factors and dates | up to 64 characters |
| Excel | a sheet per table, a variables sheet and an “About the file” sheet | as in the study |
| CSV | a file per table, UTF-8, comma | as in the study |
Every archive holds VARIABLES.csv with all variables, their labels and full names, and README.txt: where the data comes from, the layout, which names were shortened for the format and which texts were cut (SAS v5 holds up to 200 bytes of text).
Permissions and audit
Live data is exported by those with the export permission: the project administrator and the data manager. A member with access to some sites gets the patients of those sites only. In a blinded study the forms for the unblinded team stay out for the blinded. A cut can be taken by whoever sees the cuts and every site; the statistician always gets a cut de-identified, the others choose. Every builder export shows in the export history and goes to the audit trail: the format, the layout, the forms and the number of variables.
© 2026 Т.Г. (contact@youedc.com), YouEDC. All rights reserved. Terms of use. Data entered by users belongs to them.
MainEDC™ is a trademark of DM365.