Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

FatimaezzahraaBouzite/morocco-football-datascience

Domain:

socioeconomic

Record type:

project
Creator:
Fat
Host:
A complete data science project analysing the Morocco national football team (Atlas Lions) using historical match data, World Cup statistics, and player attributes. From their historic 1986 World Cup run to becoming the first African team to reach a World Cup semi-final in 2022, explored through data. ## Morocco Football - Data science project A complete data science project analysing the Morocco national football team (Atlas Lions) using historical match data, World Cup statistics, and player attributes. From their historic 1986 World Cup run to becoming the first African team to reach a World Cup semi-final in 2022, explored through data. # Project goals Explore Morocco's full match history and identify performance trends over time Build a machine learning model to predict match outcomes (Win / Draw / Loss) Analyze the 2022 FIFA World Cup campaign in depth using player-level stats Generate insights on squad composition, coaching impact, and tournament performance Deploy an interactive dashboard to predict results against any upcoming opponent # Datasets used DatasetSourceDescriptionInternational Football Results 1872–2026Kaggle47,000+ international match resultsFIFA World Cup 1930–2022KaggleAll World Cup matches, squads, lineupsFIFA World Cup 2022 Complete DatasetKagglePlayer stats, xG, shots, possession per matchEuropean Soccer DatabaseKaggleFIFA player attributes for Moroccan squad members Datasets are not included in this repo due to file size. Download each one from Kaggle and place them in the data/ folder. # Key analyses * Win rate by decade - how Morocco's performance evolved from the 1970s to today * Home vs away breakdown - goals scored, conceded, and clean sheet rates * Tournament performance - friendlies vs AFCON vs World Cup qualifiers vs finals * The Regragui effect - statistical comparison of results before and after coach Walid Regragui's appointment in September 2022 * 2022 World Cup deep dive - xG vs actual goals, defensive metrics, penalty shootout analysis * Player clustering - grouping squad members by FIFA attributes to identify position archetypes * Match outcome prediction - ELO-based XGBoost model to predict W/D/L for upcoming matches # Machine learning model - Task: Predict whether Morocco will Win, Draw, or Lose a given match Feat …

Visit

github.com

Similar

competencias-dataScience/Zindi.africacompetencias-dataScience/VisualizationFloodsamueledet/datascience-nigeriadatascience-africa/Kampala-Rdatascience-africa/Cairo-Rdatascience-africa/Dar-R

competencias-dataScience/Zindi.africa

Repositorio para competencias de Data Science en África. # Zindi África - Repositorio para com

competencias-dataScience/VisualizationFlood

Repository for UNICEF Arm 2030 Vision competition # 2: Malawi Floods Data Visualization and Reportin

samueledet/datascience-nigeria

This is a notebook on feature engineering sessions at Data science Nigeria # datascience-nigeria Ab

datascience-africa/Kampala-R

Kampala R Users Group # Kampala-R Kampala R Users Group

datascience-africa/Cairo-R

Cairo R Users Group # Cairo-R Cairo R Users Group

datascience-africa/Dar-R

Dar Es Salaam R Users Group # Dar-R Dar Es Salaam R Users Group