A series of data projects

Moroccoin Data

Questions about my country, answered with open data, Python and interactive charts, and every claim tested before it's published.

Chapter 01

How Did Morocco Reach the Semi-Final?

How Morocco reached the 2022 World Cup semi-final: shot quality, finishing and defending, tested against all 32 teams.

2.3×better chances per shot than Spain in the round of 16
Chapter 02

Is Morocco Running Out of Rain?

34 rainy seasons across a 62-point grid covering all of Morocco. The rain hasn't clearly fallen, but the heat has risen.

+31 mmmore evaporation demand per decade (p = 0.001)
Experiment 01

Stork Flight

I built a game environment, trained an AI to fly a stork through it from rewards alone, and put its real training snapshots into a game you can race.

47.9minarets on Hard after more practice, vs 26.9 for my one-line rule

How I work

  1. Ask a real questionAbout Morocco, with open data that anyone can check.
  2. Test it fairlyCompare against fair baselines, and report p-values, even when they say "could be chance".
  3. Correct the storyWhen the full data disagrees with a first result, the first result goes.
  4. Show the methodEvery number comes from code that's public on GitHub.