This is a small charting page using D3.js to show the historical league positions of football clubs in the English leagues over time.
build/ directory contains a Rakefile with instructions on
creating the data. A small amount of this needs to be hand-edited
(mapping team names to team IDs, for instance, and collecting data for
the last few seasons) but the majority comes from the wonderful
RSSSF. To build, here's the process I used:
bundle exec rake rsssf-seasons.jsonto pull the RSSSF data;
- add extra files in TSV format to
build/manual/(see Rakefile for details);
bundle exec rake add_tsvs[$dir];
bundle exec rake list_teams > teams.txtand edit that file to be key=value;
bundle exec rake list_tiers > tiers.txt, same again;
bundle exec rake football-league-positions.jsonfor the final file to go into
There's no particular reason for its existence, I just wanted to see the rises and falls of teams like Swansea and Southampton in a graphical form!