Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FBref] Handle teammates with identical name #306

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

probberechts
Copy link
Owner

When two players in the same team have identical names, the output of the read_lineups function would return duplicates. This is fixed by using the jersey number as an additional merge key.

Fixes #305

When two players in the same team have identical names, the output of the
read_lineups function would return duplicates. This is fixed by using the jersey
number as an additional merge key.

Fixes #305
@probberechts probberechts added bug Something isn't working FBref Issue or pull request related to the FBref scraper labels Jul 25, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.10% 🎉

Comparison is base (5a4c724) 61.17% compared to head (8bc86c9) 61.28%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #306      +/-   ##
==========================================
+ Coverage   61.17%   61.28%   +0.10%     
==========================================
  Files          10       10              
  Lines        1427     1431       +4     
  Branches      290      290              
==========================================
+ Hits          873      877       +4     
  Misses        508      508              
  Partials       46       46              
Files Changed Coverage Δ
soccerdata/fbref.py 85.93% <100.00%> (+0.12%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@probberechts probberechts merged commit 4c70fc9 into master Jul 25, 2023
20 checks passed
@probberechts probberechts deleted the fbref-fix-lineup-duplicates branch July 28, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FBref Issue or pull request related to the FBref scraper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FBref] Handle identically named players in read_lineups
2 participants