Repository for code persistence and page hosting. Click the link below to visit page.
Utilize sources of NFL data to practice processing, graphing, and interpreting large datasets.
- nflverse NFL play-by-play datasets
- nflfastR play-by-play field descriptions
- Puntalytics punt data processing guidance, punting metrics for play-by-play data
- Pro-Football-Reference Oilers/Titans career AV table, and general reference
Submit an issue to comment on the analysis or code.
The primary purpose of this repository is to host the HTML page containing my analysis. I have uploaded code samples for my future self. They should emulate the processes used to populate the analysis page, but are not meant to be "deployed". For example, various files are referenced by raw strings and Path objects, and these have no relevance to the repository structure.
code updates in progress, may make one function to wrap them all for easy updates
The files are organized by the section of the page to which they relate. One file loads, processes, and sends data to another, which generates and saves plots.
- play-by-play (PBP) processing for punting and bonus punter data
- table creation from processed PBP data
- Career AV table processing
- other data processing is contained in other scripts, such as preparing data for plots
Pillow functions used to modify images created by the graphing functions:
- Crop: crops image based on background color, used for graphs that couldn't save with a
tight bbox
- Invert: inverts image, used for aesthetics
- add to playground, if findings are significant, maybe make a new page.
- try interactive plotly graphs, hover labels to provide a "new" style for these charts
- create Plotly/Dash app using PBP data as source. Provide various processing and graphing features.