Menu:

Home Articles Custom Crunch
 

Crunches:

StreaksUtopia Ladder
 

Contact:

Email Me
 

Links:

AFL Tables

Welcome to the Hawk Haven

The aim of the Haven is to keep you up to date on all things AFL / Hawthorn from a statistical perspective.

The SQL database has over 4,500 games, stretching all the way back to the 2000 season.

Next game Mar 7th 19:40 vs Swa (@SCG) in 49 days.

 "Place"  Thu Dec 19th, 2024.
Pa
 "Placeholder"  Tue Dec 10th, 2024.
placed
 "Versus Streaks"  Fri Dec 6th, 2024.
Finally got Streaks working in the new Database; ie. team vs opponent = '3W'.

It took a little getting my head around - but it's a lot easier with the new version of SQL.

So here goes, from a single SELECT statement;

Big List of Streaks:
#TeamTeamBlu
SStreak
Bom
SStreak
Bul
SStreak
Cat
SStreak
Cro
SStreak
Dem
SStreak
Doc
SStreak
Eag
SStreak
Gia
SStreak
Haw
SStreak
Kan
SStreak
Lio
SStreak
Mag
SStreak
Pow
SStreak
Sai
SStreak
Sun
SStreak
Swa
SStreak
Tig
SStreak
1Blu-W1L2W1L3W3W3W4L1L1W4L1L2L1L1W3L1W2
2BomL1-W1L7L1L1W1W4W1W4W11L2W1L8L1L2L3W2
3BulW2L1-W1L1W1W1W1W2L3W7L1W1L4W1W1W1W3
4CatL1W7L1-W4L1W1W5L2W3W13L1W1W1L1L2L1W1
5CroW3W1W1L4-L4L1W5W1L2W6L1L9L1W2L1L6L2
6DemL3W1L1W1W4-L3W1L2W4W6L2L3L1W5W12L1W5
7DocL3L1L1L1W1W3-W1L2L1W1W1D1L3W1W2W1W2
8EagL4L4L1L5L5L1L1-L1L3W1L6L2L3L4W1L4W1
9GiaW1L1L2W2L1W2W2W1-W1W3L1W1W2W2W4L4W1
10HawW1L4W3L3W2L4W1W3L1-W6W5W1L3W1L2L3W2
11KanL4L11L7L13L6L6L1L1L3L6-L7L5L5L5W1L8W1
12LioW1W2W1W1W1W2L1W6W1L5W7-L3W2W6W2W4W3
13MagW2L1L1L1W9W3D1W2L1L1W5W3-W4L1L1L2W2
14PowW1W8W4L1W1W1W3W3L2W3W5L2L4-W6L1L1W4
15SaiW1W1L1W1L2L5L1W4L2L1W5L6W1L6-W1W2W3
16SunL3W2L1W2W1L12L2L1L4W2L1L2W1W1L1-L3W5
17SwaW1W3L1W1W6W1L1W4W4W3W8L4W2W1L2W3-L2
18TigL2L2L3L1W2L5L2L1L1L2L1L3L2L4L3L5W2-
                    
 
 "Bug Spray Needed"  Mon Dec 2nd, 2024.
Oh my God. So many bugs.

But I think I've fixed most of them.

Also attempted a cheat sheet and user guide - definitely a lot of work to be done.

 "Utopia Crunch"  Wed Nov 27th, 2024.
I thought the first table I should put an effort into resurrecting was the "Utopia" Ladder.

It imagines a perfect season - where each team plays every other team twice; home and away. The crunch searches back through the last few seasons to find all the games it needs to construct the ladder.

Of course it's a dream - you can't have a 34 round season. But you can see what it would look like using the link in the menu to the left.

 "Updates"  Tue Nov 26th, 2024.
Version 1.05
- squashed a HUGE list of bugs.
- added %2 (SANFL type percentages).
- added margins eg. -6,6m3 for plus or minus a goal at 3QT.
- added selection of tables to custom crunches.
- added scope and modifiers to columns. eg. "/+".
- added reverse sorting to columns (click second time).
 "First Try"  Mon Nov 25th, 2024.
Testing everything out with our first table. Columns are sortable (click the heading) and you can bring up the last 25 games by clicking on any of the teams. At the bottom is the column averages (hover for totals).

Simple 2024 Ladder:
#TeamTeamPPlayedWGames WonLGames LostDGames DrawnPFAverage Points ForPAAverage Points AgainstPPPremiership Pts%PercentageOFAverage Opponent FinishL5Last 5 W/L
1Swa26197095.678.176122.4%9.1W-W-W-W-L
2Lio27188194.476.474123.6%9.2W-W-W-W-W
3Pow26179084.679.168106.9%9.9W-W-L-W-L
4Cat25169095.583.164114.9%9.6W-L-W-W-L
5Haw251510090.476.060119.0%9.5W-W-W-W-L
6Gia251510088.682.360107.7%8.5W-W-L-L-L
7Bul241410093.076.556121.7%9.2W-L-W-W-L
8Blu241311092.685.552108.3%9.2L-L-W-L-L
9Mag23129286.684.552102.5%9.0W-W-L-W-W
10Doc231210185.476.350111.9%9.5W-L-L-L-L
11Bom231111182.388.04693.5%9.8L-W-L-L-L
12Sai231112076.076.44499.4%9.3W-L-W-W-W
13Sun231112083.784.54499.1%10.0L-L-W-L-W
14Dem231112077.678.84498.5%8.9L-L-L-W-L
15Cro23814182.983.63499.1%8.0L-L-W-L-L
16Eag23518069.3101.72068.1%10.1L-W-W-L-L
17Kan23320070.4110.91263.5%9.0L-W-L-L-L
18Tig23221065.4102.8863.7%8.9L-L-L-L-L
  24.043211.821311.82130.3684.11,514.384.71,524.348.0864101.31823.89.3166.8 
 
 "And We're Back"  Sun Nov 24th, 2024.
Ok. It's taken a while - but I've copied the Database across to the new domain and repaired (most of) it. Getting my head around MariaDB - which seems pretty awesome. And converting the old code into PHP/Javascript.

At the moment the database only goes back to 2000.