![](https://github.com/nepito/world_cup_semis/raw/develop/img/logo.jpeg?raw=true)
Calculator Total Shot Rate
![commits](https://camo.githubusercontent.com/bae2a90209dba5671bf23d7dd8faedcca3e5ea922d3201c1fc6bcd8e30caedd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f792f6e696573667574626f6c2f63616c63756c61746f722d747273)
xGoal_inside
= 0.096171 ***
xGoal_outside
= 0.045958 ***
xPenalty
= 0.785234
xGoal_inside
= 0.096 ***
xGoal_outside
= 0.073 ***
xGoal_inside
= 0.074 ***
xGoal_outside
= 0.108 ***
xGoal_inside
= 0.125454 ***
xGoal_outside
= 0.044485 ***
xPenalty
= 0.816
xGoal_inside
= 0.109849 ***
xGoal_outside
= 0.036571 ***
xPenalty
= 0.816
xGoal_inside
= 0.101172 ***
xGoal_outside
= 0.051113 ***
xPenalty
= 0.816
xGoal_inside
= 0.096065 ***
xGoal_outside
= 0.053973 ***
xPenalty
= 0.816
xGoal_inside
= 0.110081 ***
xGoal_outside
= 0.037332 **
xPenalty
= 0.774774
xGoal_inside
= 0.104047 ***
xGoal_outside
= 0.049906 **
xPenalty
= 0.774774
xGoal_inside
= 0.106269 ***
xGoal_outside
= 0.048015 ***
xPenalty
= 0.846666
xGoal_inside
= 0.095796 ***
xGoal_outside
= 0.050902 ***
xPenalty
= 0.846666
xGoal_inside
= 0.096118 ***
xGoal_outside
= 0.059871 ***
xPenalty
= 0.777778
xGoal_inside
= 0.096118 ***
xGoal_outside
= 0.059871 ***
xPenalty
= 0.777778
xGoal_inside
= 0.108780 ***
xGoal_outside
= 0.065102 ***
xPenalty
= 0.826087
xGoal_inside
= 0.106016 ***
xGoal_outside
= 0.053995 ***
xPenalty
= 0.826087
xGoal_inside
= 0.097606 ***
xGoal_outside
= 0.059503 ***
xPenalty
= 0.815126
xGoal_inside
= 0.097820 ***
xGoal_outside
= 0.052652 ***
xPenalty
= 0.785714
xGoal_inside
= 0.091485 ***
xGoal_outside
= 0.063886 ***
xPenalty
= 0.815384
xGoal_inside
= 0.102894 ***
xGoal_outside
= 0.056361 ***
xPenalty
= 0.718182
xGoal_inside
= 0.102119 ***
xGoal_outside
= 0.046297 ***
xPenalty
= 0.718182
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
docker container run -v $PWD/nies_data:/workdir/results nepolin/calculator-trs make update
- Add phony
update
and upadate_{league}_{season}
- Update xGoal parameters in
R/xTable.R
using src/calculate_xGoal.R --input-file=results/league_{league}_{season}.csv
- Obtain the file
results/names_{league}_{season}.csv
using football/src/get_name_teams_from_league.py
- Obtain the file
results/season_{league}_{season}.csv
using football/src/matches_of_seasons.py