How demainman/etl-pipeline works
This is a small COVID-19 ETL application. A user starts the CLI orchestrator, which downloads Johns Hopkins’ wide CSV, transforms it into validated daily records, and loads those records idempotently into SQLite. The database can also be summarized through the CLI. Configuration supplies source, path, and schema defaults. The graph follows the README and shown source; unsampled implementation details are omitted.
Main entry points: run_pipeline.py Pipeline CLI · load.py SQLite loading · config.py Pipeline config · extract.py CSV extraction
Components 10
Pipeline control
- Pipeline CLI
src/run_pipeline.py - Pipeline config
src/config.py
ETL stages
- CSV extraction
src/extract.py - Clean and reshape
src/transform.py - SQLite loading
src/load.py
Data storage
- Raw CSV
data/raw - Processed CSV
data/processed - SQLite database
Other components
- CLI user
- JHU CSV source
Connections 15
- CLI user → Pipeline CLI: runs
README.md - Pipeline CLI → CSV extraction: calls
src/run_pipeline.py - Pipeline CLI → Clean and reshape: calls
src/run_pipeline.py - Pipeline CLI → SQLite loading: calls
src/run_pipeline.py - Pipeline config → Pipeline CLI: configures
src/run_pipeline.py - Pipeline config → CSV extraction: configures
src/extract.py - Pipeline config → Clean and reshape: configures
src/transform.py - Pipeline config → SQLite loading: configures
src/load.py - CSV extraction → JHU CSV source: fetches
README.md - CSV extraction → Raw CSV: writes
README.md - Clean and reshape → Raw CSV: reads
src/transform.py - Clean and reshape → Processed CSV: writes
README.md - SQLite loading → Processed CSV: reads
README.md - SQLite loading → SQLite database: writes
README.md - Pipeline CLI → SQLite loading: requests summary
src/run_pipeline.py