{"id":18086793,"url":"https://github.com/klane/databall","last_synced_at":"2025-04-04T21:07:12.767Z","repository":{"id":20908847,"uuid":"81711326","full_name":"klane/databall","owner":"klane","description":"Betting on the NBA with data","archived":false,"fork":false,"pushed_at":"2025-01-01T08:23:15.000Z","size":22376,"stargazers_count":146,"open_issues_count":8,"forks_count":24,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T20:06:25.854Z","etag":null,"topics":["github-pages","jekyll","jupyter-notebook","machine-learning","nba","python","scrapy","sports-analytics","sports-betting"],"latest_commit_sha":null,"homepage":"https://klane.github.io/databall/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-12T07:51:06.000Z","updated_at":"2025-03-03T19:59:29.000Z","dependencies_parsed_at":"2025-03-18T20:46:26.253Z","dependency_job_id":null,"html_url":"https://github.com/klane/databall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klane%2Fdataball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klane%2Fdataball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klane%2Fdataball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klane%2Fdataball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klane","download_url":"https://codeload.github.com/klane/databall/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249524,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-pages","jekyll","jupyter-notebook","machine-learning","nba","python","scrapy","sports-analytics","sports-betting"],"created_at":"2024-10-31T16:58:32.060Z","updated_at":"2025-04-04T21:07:12.738Z","avatar_url":"https://github.com/klane.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"docs/assets/icons/favicon.ico\" width=\"48\"\u003e DataBall: Betting on the NBA with data\n\n[![Test Status](https://github.com/klane/databall/workflows/Tests/badge.svg)](https://github.com/klane/databall/actions)\n[![License](https://img.shields.io/github/license/klane/databall.svg?label=License)](LICENSE)\n\nThis project combines my interest in data science with my love of sports. I attempt to predict NBA winners against the spread using stats pulled from the [NBA stats website](http://stats.nba.com/) with [nba_api](https://github.com/swar/nba_api) and point spreads and over/under lines from [covers.com](http://covers.com) using the Python web scraping framework [Scrapy](https://scrapy.org/). All code is written in Python and I used the popular machine learning library [scikit-learn](http://scikit-learn.org/stable/) to make all predictions.\n\nContents:\n\n- [covers](https://github.com/klane/databall/tree/main/databall/covers): Scrapy project to scrape point spreads and over/under lines from [covers.com](http://covers.com)\n- [databall](https://github.com/klane/databall/tree/main/databall): Python module with support functions to perform tasks including collecting stats to a SQLite database, simulating seasons, and customizing plots\n- [docs](https://github.com/klane/databall/tree/main/docs): Code required to build the GitHub Pages [site](https://klane.github.io/databall/) for this project\n- [notebooks](https://github.com/klane/databall/tree/main/notebooks): Jupyter notebooks of all analyses\n- [report](https://github.com/klane/databall/tree/main/report): LaTeX files for report and slides\n\nLink to a test database with data from 1990 - March 2020 [test nba.db file](https://drive.google.com/file/d/10CBcCLv2N_neFL39ThykcudUVUv5xqLB/view?usp=sharing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklane%2Fdataball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklane%2Fdataball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklane%2Fdataball/lists"}