MLB Stats Scraping
Budget: $30 – $250 USD
Scrape statistical data into Excel spreadsheet. Program should check probable starting pitchers (from baseballsavant), then populate each batter that has a .350+ batting average against the matchup they are facing that day. EG: The Los Angeles angels are facing the Philadelphia Phillies in Philadelphia. LA's pitcher is left handed, and Philadelphia's is right handed. The program should populate the spreadsheet with all Philadelphia batters that hit .350+ against LHP at home and each of the Los Angeles batters that hit .350+ against RHP on the road. The program would do this for each game on the schedule for the day.
Team
Batter Name
Matchup (RHP Away, LHP Away, RHP Home, LHP Home)
BA (for matchup split over last 60 days)
PA (for matchup split over last 60 days
Opponent Pitcher Name
H/PA against opponent Pitcher
BA against opponent pitcher
Pitcher xBAVG
Batter R/L
Pitcher 1 pitch + % (EG 29% Sinker)
Batter AVG against Pitch 1
Pitcher 2 pitch + %
Batter AVG against Pitch 2
Pitcher 3 pitch + %
Batter AVG against Pitch 3
Pitcher 4 pitch + %
Batter AVG against Pitch 4
Batter AVG split day
Batter AVG split night
How many of last 15 games batter had 1 hit
How many of last 15 games batter had 2+ hits
Batting average in the last 15 games.
I've been pulling the data manually and can show you where to find data. Excel spreadsheet below shows how I've set up the spreadsheet.
Team
Batter Name
Matchup (RHP Away, LHP Away, RHP Home, LHP Home)
BA (for matchup split over last 60 days)
PA (for matchup split over last 60 days
Opponent Pitcher Name
H/PA against opponent Pitcher
BA against opponent pitcher
Pitcher xBAVG
Batter R/L
Pitcher 1 pitch + % (EG 29% Sinker)
Batter AVG against Pitch 1
Pitcher 2 pitch + %
Batter AVG against Pitch 2
Pitcher 3 pitch + %
Batter AVG against Pitch 3
Pitcher 4 pitch + %
Batter AVG against Pitch 4
Batter AVG split day
Batter AVG split night
How many of last 15 games batter had 1 hit
How many of last 15 games batter had 2+ hits
Batting average in the last 15 games.
I've been pulling the data manually and can show you where to find data. Excel spreadsheet below shows how I've set up the spreadsheet.