Skip to content

githubLewis/Football-data-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football-data-analysis

Using Python tools to analyze football statistics

Overview

Collection of scripts used to generate analysis of football statistics.

poisson.py

Generates a poisson graph jpg for each team in the file.

Southampton Poisson

standings.py

Generates a league table.

standingshtml.py

Generates a league table in a html fragment.

averages.py

Generates a rolling average graph (shots on goal, shots on target, corners) for each team in the file.

Southampton Averages

LastXResultsAsGraph.py

Generates a bar graph displaying the last 10 results in a graphical fashion.

Southampton Last10

LastXResultsAsText.py

Generates a text file displaying the last 10 results in text format.

Teams.py

Shared code, contains the team, fixture classes and helper functions, such as poisson & csvopen.

dataLoader.py

Used to load the data from the CSV.

constants.py

Holds constant values used across scripts (paths etc)

Usage

Scripts can be run in the Python terminal.

Build notes

N/A

Additional comments

Data source is a CSV file downloaded from: http://www.football-data.co.uk

About

Using Python tools to analyze football statistics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages