Code for football analysis