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 |
| Review, sharing | |
| Markdown (.md) | Version control |
| HTML | Web preview |
Exporting Your Paper
- Open your paper in the Paper Editor
- Click Export in the toolbar
- Select format
- Choose export options
- 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
- Go to Data Explorer
- Apply any filters (optional)
- Click Export
- 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
- Go to Analysis Config
- Select a completed run
- 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:
- Select run(s) to export
- Click Export Audit Trail
- 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:
- Go to Project Settings
- Click Export Project
- Select what to include
- 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
- Export early and often for backup
- Use journal templates for submissions
- Include audit trail for peer review
- Document which data version was used
- Keep copies in multiple formats