<aside> 📈

SH Stats (Spanish Handball Stats) is a Windows desktop application I built to automatically collect, organize, analyse, and visualize match data from Spanish handball competitions published by the Real Federación Española de Balonmano (RFEBM) and regional federations.

</aside>

The Problem

Spanish handball results were publicly available, but distributed across federation competition pages and difficult to reuse for analysis. Coaches and analysts had no simple way to transform those pages into structured datasets, rankings, statistical indicators, and visual reports.

What I Built

Data Pipeline

  1. Users add one or more RFEBM competition URLs to a panel.
  2. Requests downloads each results page and Beautiful Soup parses its HTML structure.
  3. Match records are normalized into Pandas DataFrames, including home and away teams, scores, league, group, season, federation, and date fields.
  4. Competitions, teams, matches, source links, and metadata are persisted in a relational SQLite database.
  5. The application aggregates the records into standings, team summaries, statistical metrics, and chart-ready datasets.
  6. Users refresh individual competitions or an entire panel as new results become available.

Analytics