Skip to main content
etl/build_events.py · chapter Building a row, file 6 · 35 lines · open in the repository

What it does

Build the events table (see docs/data-contracts.md) from config/event_types.csv and config/event_dates.csv, and write a copy to data/events.parquet for browsing. Pipeline code does not read this file: it calls common.contracts.expand_events directly, so it always matches config/. Run: python3 etl/build_events.py

What is inside

Connections

Uses: src/common/contracts.py, src/common/settings.py, src/common/study.py

Source

etl/build_events.py