[PR #532] [CLOSED] [FBref] Optimize reading team match history #633

Closed
opened 2026-03-02 15:58:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/probberechts/soccerdata/pull/532
Author: @Kalaweksh
Created: 4/2/2024
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 2d43c88 [FBref] Optimize reading team match history

📊 Changes

1 file changed (+109 additions, -7 deletions)

View changed files

📝 soccerdata/fbref.py (+109 -7)

📄 Description

Resolves

Changes

  • Modified read_team_match_stats to cache match history tables as csv files for faster reading.

  • Added force_cache parameter to read_team_match_stats for consistency with other methods.

Issues

  • Currently does not detect latest league season, as a placeholder season 23-24 is dropped regardless of the current season.

  • Cluttered read_team_match_stats.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/532 **Author:** [@Kalaweksh](https://github.com/Kalaweksh) **Created:** 4/2/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2d43c88`](https://github.com/probberechts/soccerdata/commit/2d43c885f8e6ed1ef7e8515d773353a1ccefa327) [FBref] Optimize reading team match history ### 📊 Changes **1 file changed** (+109 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/fbref.py` (+109 -7) </details> ### 📄 Description ### Resolves - #458 ### Changes - Modified read_team_match_stats to cache match history tables as csv files for faster reading. - Added force_cache parameter to read_team_match_stats for consistency with other methods. ### Issues - Currently does not detect latest league season, as a placeholder season 23-24 is dropped regardless of the current season. - Cluttered read_team_match_stats. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:58:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#633
No description provided.