Skip to content

Flask API serving Football data transformations using PySpark.

Notifications You must be signed in to change notification settings

RoachLok/football-pyspark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySpark Football KPI visualizer

Giving football data from Transfermarkt and Kaggle datasets a twist. Using PySpark to produce some interesting data from it.

Usage

Clone repo.

    git clone https://github.com/RoachLok/football-pyspark

Setup python env.

    python3 -m venv .venv

Enable the environment running the activate script for your shell and environment.

    # Bash (Windows)
    source .venv/Scripts/activate

    # PowerShell
    .\.venv\Scripts\Activate.ps1

Install dependencies from requirements.txt.

    pip install -r requirements.txt

Start the app.

    python app.py

Sources

Datasets

Transfermarkt Data: https://www.kaggle.com/datasets/davidcariboo/player-scores

Football Players Market Value Prediction: https://www.kaggle.com/datasets/akarshsinghh/football-players-market-value-prediction

Akarsh Football Players Market Value Prediction: https://www.kaggle.com/datasets/akarshsinghh/football-players-market-value-prediction?resource=download

About

Flask API serving Football data transformations using PySpark.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published