README.md

Calculator Total Shot Rate

codecov licencia languages commits

Total Shots Rate

Liga MX 2020

Eurocopa 2020

Copa América 2021

La Liga 2020

La Liga 2020

Premier League 2020

Premier League 2021

Bundesliga 2020

Bundesliga 2021

Serie A 2020

Serie A 2021

Serie A 2022

Serie A 2023

Ligue 1 2020

Ligue 1 2021

Eredivisie 2020

Eredivisie 2021

Eredivisie 2022

Primeira Liga 2020

Primeira Liga 2021

How to use

Xpected Goal

docker container run -itv $PWD/nies_data:/workdir/results nepolin/calculator-trs bash
Rscript src/calculate_xGoal.R --input-file=results/statistics_39_2022.csv

To update

docker container run -v $PWD/nies_data:/workdir/results nepolin/calculator-trs make update

To add new season

  1. Add phony update and upadate_{league}_{season}
  2. Update xGoal parameters in R/xTable.R using src/calculate_xGoal.R --input-file=results/league_{league}_{season}.csv
  3. Obtain the file results/names_{league}_{season}.csv using football/src/get_name_teams_from_league.py
  4. Obtain the file results/season_{league}_{season}.csv using football/src/matches_of_seasons.py


nepito/calculator-trs documentation built on Feb. 20, 2024, 10:56 a.m.