Skip to content

Exporting

Export your manuscripts, data, and analyses in various formats.

Manuscript Export

Supported Formats

Format Best For
Word (.docx) Most journals, editing
LaTeX (.tex) Technical journals
PDF Review, sharing
Markdown (.md) Version control
HTML Web preview

Exporting Your Paper

  1. Open your paper in the Paper Editor
  2. Click Export in the toolbar
  3. Select format
  4. Choose export options
  5. Download

Export Options

Include:
  ✓ Title and authors
  ✓ Abstract
  ✓ Main text
  ✓ Tables
  ✓ Figures
  ✓ References

Formatting:
  - Journal template: JAMA
  - Citation style: AMA
  - Line spacing: Double
  - Font: Times New Roman

Journal Templates

Pre-formatted exports for:

  • JAMA / JAMA Network
  • NEJM (New England Journal of Medicine)
  • Lancet
  • Circulation
  • JACC
  • Annals of Surgery
  • Generic (standard format)

Data Export

Export Your Data

  1. Go to Data Explorer
  2. Apply any filters (optional)
  3. Click Export
  4. Select format

Data Formats

Format Use Case
CSV Universal compatibility
Excel (.xlsx) Sharing, Excel analysis
REDCap Re-import to REDCap
SPSS (.sav) SPSS analysis
Stata (.dta) Stata analysis

Export Options

Rows:
  ○ All rows
  ● Filtered rows only (342 of 847)

Columns:
  ○ All columns
  ● Selected columns only
  ✓ Include mapped column names

Format:
  - Include headers: Yes
  - Encoding: UTF-8
  - Date format: YYYY-MM-DD

Analysis Export

Export Results

  1. Go to Analysis Config
  2. Select a completed run
  3. Click Export

Analysis Formats

Format Contents
PDF Report Formatted results with tables
Excel Raw output in spreadsheet
R Script Reproducible R code
Python Script Reproducible Python code
JSON Structured data

Audit Trail Export

For compliance and peer review:

  1. Select run(s) to export
  2. Click Export Audit Trail
  3. Download ZIP containing:
audit_RUN-00234/
├── config.json        # Analysis configuration
├── data_snapshot.csv  # Data at time of run
├── code.py           # Executed code
├── output.json       # Raw results
├── log.txt           # Execution log
└── manifest.md       # Summary document

Bulk Export

Project Export

Export everything from a project:

  1. Go to Project Settings
  2. Click Export Project
  3. Select what to include
  4. Download ZIP

Contents

project_export/
├── data/
│   ├── raw/          # Original uploads
│   └── mapped/       # Mapped data
├── analyses/
│   └── run_*/        # Each analysis run
├── papers/
│   └── draft_*.docx  # All paper versions
└── manifest.json     # Project metadata

API Export

For programmatic access:

import medtwin

client = medtwin.Client(api_key="your-key")

# Export data
data = client.projects["my-project"].data.export(format="csv")

# Export analysis
results = client.runs["RUN-00234"].export(format="json")

See API Documentation for details.

Best Practices

Export Tips

  1. Export early and often for backup
  2. Use journal templates for submissions
  3. Include audit trail for peer review
  4. Document which data version was used
  5. Keep copies in multiple formats

Next Steps