Coder Social home page Coder Social logo

somdeep / statball Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 2.0 4.03 MB

Statball - Football soccer stats analyser from top 5 european leagues with data obtained by web scraping from Fbref and Statsbomb

License: MIT License

C# 100.00%
football football-data statsbomb fbref scraping dotnet dotnet-core soccer soccer-analytics football-analytics data-scraping scouting-data csharp tableau data-viz visualizations data-science soccer-data

statball's Introduction

Statball build passing dotnet core

Statball - Football (soccer) stats analyser from top 5 european leagues with data obtained from Fbref and Statsbomb.

Fbref : https://fbref.com/en/comps/Big5/Big-5-European-Leagues-Stats

Statsbomb : https://statsbomb.com/

Visualizations created using Tableau Public : https://public.tableau.com/

  1. Built-In Data Scraper/ API to pull or scrape data from fbref and Statsbomb - using C# / webapp / web scraping
  2. Preferred position filtering
  3. Combined statscore value
  4. Multi resource file processing - for combined statscore value as well
  5. Clustering based talent identification
  6. Performance/Role analysis
  7. Similarity analysis for position/player using Cosine/other similarity - vector/array based
  8. Player scouting based on customisable player profiles and statscore based scouting.

Visualization and Scouting Samples

Visualization 1 : Heavily Involved Creators, and Messi in a league of his own (20/21, minimum 20 90s).

europecreatorsandteams

Sample 1 : Top 30 AM profile players from top 5 leagues (20/21, stats p90, minimum 20 90s).

image

Prerequisite Installations

Download and install .NET Core from here : https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=net50

How to Run : Download the project and run the dotnet run command as below :

dotnet run

dotnet run -h|--help

Follow steps here if needed : https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-run

statball's People

Contributors

somdeep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

statball's Issues

Handle non-additive stats

Describe the bug
Handle non-additive stats

To Reproduce

Expected behavior
Handle stats that are better for lower values.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Possession-adjusted stats

Is your feature request related to a problem? Please describe.
Possession-adjusted stats

Describe the solution you'd like
Adjust for possession to better reflect metrics.

Describe alternatives you've considered

Additional context

Factor in transfer market valuations

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Update installation, running process and general usage documentation

Is your feature request related to a problem? Please describe.
Update installation, running process and general usage documentation.

Describe the solution you'd like
Add in steps for documenting dotnet core, app running, usage, scraping methodology, etc.

Describe alternatives you've considered

Additional context
Add in links to dotnet, fbref etc as needed.

Add in Team statistics and analysis

Is your feature request related to a problem? Please describe.
Team data scraping and analysis.

Describe the solution you'd like
Bring in teams data scraping and carry out similar data analysis for teams, including identifying suitable/needed players.

Describe alternatives you've considered
New feature/request.

Additional context
Teams data is available from fbref/statsbomb, needs slightly modified scraping.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.