The level code was taken out of the main SQL file and moved to ExcessCode.sql.
The elbow calculation was done using '''elbowdata''', not '''elbowdatarestricted'''. The workings are in E:\projects\agglomeration\Elbow.xlsx. Plotfracunclustered (X) against avgfracinhull (Y), and fit a quadratic to give:
==Files==