raxtik-etl Documentationο
raxtik-etl is an enterprise-grade pharmacovigilance data engine, canonical schema platform, and reproducible pipeline for FDA FAERS and AEMS adverse event safety databases.
Getting Started
Architecture & Design
Guides & Schema Specifications
- 2004Q1 Dataset Integration & Usage Guide
- Official FDA FAERS Data Structure & Technical Reference Guide
- FDA FAERS/AEMS Historical Schema Audit & Evolution Guide (2004 β 2026+)
- FAERS/AEMS Coded Values & Code-List History Reference
- 1. Drug Role Codes (
ROLE_COD/role_code) - 2. Patient Outcome / Seriousness Codes (
OUTC_COD/outcome_code) - 3. Patient Sex (
SEX/GNDR_COD/reported_sex_code) - 4. Age Units (
AGE_COD/reported_age_code) & Normalization Multipliers - 5. Weight Units (
WT_COD/reported_weight_code) & Normalization Multipliers - 6. Reporter Occupation (
OCCP_COD/reporter_occupation_code) - 7. Report Sources (
RPSR_COD/report_source_code) - 8. Dechallenge / Rechallenge Codes (
DECHAL/RECHAL)
- 1. Drug Role Codes (
- Phase 0 Empirical Schema Fingerprint Comparison Report
API Reference
Community & Contributing
π Core Featuresο
Decoupled Architecture: Source-agnostic canonical data engine separated from source-specific connectors (
raxtik-source-faers).Signature Detection (S1 β S2 β S3): Fail-closed schema evolution tracking legacy ASCII (2004β2012), migration era (2012β2014), and modern FAERS/AEMS (2014βpresent).
Dual Presentation Packaging: Produces self-describing standalone SQLite, DuckDB, and zero-copy Apache Parquet formats.
Cross-Quarter Case Deduplication Engine: Deterministic longitudinal case resolution resolving follow-up submissions across quarters and years while preserving raw physical provenance.
Zero-Copy Python SDK: Query canonical cases, suspect drugs, reactions, and outcomes directly as Polars DataFrames.
Hugging Face Hub Remote Distribution: Instant public streaming download of precompiled packages without requiring local compilation or API tokens.
π Quick Installationο
Requires Python >= 3.11.
# Core package
pip install raxtik-etl
# With developer & Hugging Face upload tooling
pip install "raxtik-etl[dev]"
# With documentation tooling
pip install "raxtik-etl[docs]"
π Licenseο
Source Code: GNU Affero General Public License v3 or later (AGPL-3.0-or-later).
Raw FDA Data: United States Federal Government Work / Public Domain (17 U.S.C. Β§ 105).
Derived Safety Packages: Open Data Commons Attribution License (ODC-By 1.0).