Personal project · Data engineering
pipeline-etl-retail
In progress
- Olist + BCB · BCRP
- Python
- PostgreSQL (Neon)
- dbt
- Power BI (pending)
Overview
Problem
Sales reports depend on manual loads and converting currencies by hand, with a risk of errors and duplicated data. A flow was needed that integrates sales and exchange rates every day, validates quality and leaves the data ready for analysis.
Solution
ELT pipeline with Python, dbt, PostgreSQL (Neon), GitHub Actions and Power BI. Every day it runs extraction, the raw load, dbt build with its tests and the run log; the dbt lineage is published on GitHub Pages.
My work
- Daily pipeline on GitHub Actions (07:00, Lima): extraction, raw load, dbt build with tests and logging to etl_runs.
- Data-arrival simulator with a watermark and idempotent loads (delete by key and insert, in a single transaction).
- 138 dbt data quality tests and a controlled failure test: if a test fails, the pipeline stops without advancing the watermark.
- Amounts in USD and PEN using official BCB and BCRP exchange rates.
- Reconciliation of sales vs. total paid, explained to the cent.
- CI on every change: ruff, actionlint, pytest and dbt parse.
- dbt documentation (lineage) published on GitHub Pages.
- Read-only PostgreSQL role for Power BI.
Keep exploring
More projects
-
Professional case · AI
AI assistant for Odoo
Boson Innovation
View project: AI assistant for Odoo -
Professional case · BI
Multi-company sales and margin dashboard
Boson Innovation
View project: Multi-company sales and margin dashboard -
Professional case · Operations
Mobile inventory count
Boson Innovation
View project: Mobile inventory count -
Professional case · Architecture
Multi-site architecture on Odoo 18
Boson Innovation
View project: Multi-site architecture on Odoo 18 -
Professional case · Automation
Merchandise tracking with Power Automate and SharePoint
CasaLinda
View project: Merchandise tracking with Power Automate and SharePoint -
Professional case · Processes
Business process redesign
CasaLinda
View project: Business process redesign -
Personal project · Web automation
AnaMedinaAguirre.github.io
View project: AnaMedinaAguirre.github.io
Let's talk
Looking for someone who turns manual processes into automated workflows and data into decisions? Let’s talk.