Skip to content

Analytics with NBA player salaries with data from basketball-reference.com

Notifications You must be signed in to change notification settings

ramvibhakar/basketball-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basketball-Analytics

Analytics with NBA player salaries with data from basketball-reference.com. This is part of IS5126: Hands on with Business Analytics

Requirements

  • Python 2.7
  • BeautifulSoup 4.0
  • SQLite 3

Step 1: Scrapping the data

To scrap the data from basketball-reference.com run the following scripts

  • py player_crawler.py : To extract the information about the players. The starting URL is http://www.basketball-reference.com/players/. The output is generated as csv files data/player_basic_profile_info.csv and data/player_stats.csv
  • py team_crawler.py : To extract the team information and player salaries. The starting URL is http://www.basketball-reference.com/teams/. The output csv files are data/player_salary.csv, data/team_basic_profile_info.csv and data/player_stats.csv

About

Analytics with NBA player salaries with data from basketball-reference.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages