Skip to content

NBPub/TitanUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titans Focused NFL Data Analysis

Repository for code persistence and page hosting. Click the link below to visit page.

Contents

Motivation

Utilize sources of NFL data to practice processing, graphing, and interpreting large datasets.

Data Sources

Feedback

Submit an issue to comment on the analysis or code.

Code Notes

Python Pandas NumPy Jinja Bootstrap

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

Future

  • 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.

About

Titans focused NFL data analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages