Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Soccer recipes: the shot filter drops penalties; note the StatsBomb own goal

Open Beginner friendly
#101 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
jupyter-notebook, python, r

Research direction

The shot filter is the (?i)shot|goal pattern in cookbook sections §9 and §10 of examples/notebooks/cookbooks/surfaces-and-shot-charts.ipynb, and the same filter appears in vignettes/articles/soccer-viz.Rmd in sdvplotR. Start by reading those filter cells and running them on event 740970 to confirm the current counts. Done means penalty plays are kept by the filter in both files and a one-line note explains why the StatsBomb map shows 5 goals for the 4-2 final.

Written by the indexing model from the issue text.

Description

From the soccer/FIBA program's final review. Both soccer shot-map recipes (cookbook §9/§10 in examples/notebooks/cookbooks/surfaces-and-shot-charts.ipynb; the sdvplotR article mirrors them) filter ESPN plays on (?i)shot|goal, which drops Penalty - Scored / Penalty - Missed — harmless for event 740970 (no penalties) but wrong for any match that has them. Also add a one-line note that the StatsBomb map marks 5 Shot goals for a 4-2 final because the own goal is a separate event type. Same fix for sdvplotR's vignettes/articles/soccer-viz.Rmd.

Dominant language
Python
Stars
1
Forks
0
Avg merge
3h 26m
Merged PRs (30d)
129

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sportsdataverse/sdvplot

All issues in sportsdataverse/sdvplot

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.