Skip to content

📦 Source Code (src)

⬅️ Back to Main Repository README

This directory contains reusable Python modules for loading, processing, and visualizing SkillCorner data.

💡 Note: If you want to see these source files in action, please explore the Learning Paths in our Tutorials section.

🏗️ Structure

  • data/: Scripts for data ingestion and loading.
  • basic_loading.py: Functions to load match metadata and tracking data.
  • features/: Feature engineering and aggregation logic.
  • DynamicEventsAggregator.py: Logic for summarizing dynamic event categories.
  • PhasesOfPlayAggregator.py: Framework for aggregating data by phases of play.
  • visualization/: Folder with reusable plotting and reporting functions.
  • head2head_viz.py: Head to head plot to compare two teams or players on key metrics
  • sectioned_summary_table_viz.py: Visualisation to compare multiple metrics against different players and organize them by custom categories

🛠️ Usage

These modules are designed to be imported into tutorials or custom scripts:

from src.features.PhasesOfPlayAggregator import PhasesOfPlayAggregator
# ... initialize and use ...