You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of adding an option to NFL Boxscore to get all the scoring possession details from the game, as shown on the Sports Reference website, and would like to get input on the feature before I create a pull request. Following is the general documentation for the feature:
Returns a "list" containing a list for each quarter's scores. Each score is represented by a "dictionary" that holds the following keys:
'time' - Time on the clock until the end of the quarter.
'team' - The scoring team's name.
'details' - A summary of the scoring play, including players involved.
current_score' - A dictionary with the current score after the scoring play. It's keys are: 'home', 'away'.
This is a cool idea. One consideration you might want to make, is dumping the dictionary into a stringified JSON and including it as a field in the output dataframe.
That said, this repo appears to be abandoned by the admin. I have a fork that I'm using for my own purposes and I'm in the process of updating the codebase to accomodate several changes that have been made to the website that have broken some features. If you implement this change you might be better off forking it yourself. But I'm interested in seeing your changes when you make them and I'd be happy to collaborate.
I'm in the process of adding an option to NFL Boxscore to get all the scoring possession details from the game, as shown on the Sports Reference website, and would like to get input on the feature before I create a pull request. Following is the general documentation for the feature:
Returns a "list" containing a list for each quarter's scores. Each score is represented by a "dictionary" that holds the following keys:
For example:
Example for <1st-quarter-scores>:
The text was updated successfully, but these errors were encountered: