markjacksonfishing / sf_giants_stats

Join me in celebrating my love for the San Francisco Giants! I've crafted a Go program to combine my love for data science and the SF Giants. With this program, you can enter any Major League Baseball team's abbreviation and receive their 2022 season batting stats from Baseball Reference.
MIT License
1 stars 0 forks source link

Score Big with This Go Program: Scraping Baseball Stats Like a Pro! #2

Closed markjacksonfishing closed 1 year ago

markjacksonfishing commented 1 year ago

Hey batter batter, swing! Here comes a pitch, but it's not just any pitch - it's a Go program pitch! This program steps up to the plate and asks the user for a Major League Baseball team's abbreviation. Once it's got that, it scrapes Baseball Reference to fetch and parse the team's 2022 season batting stats. And just like that, it knocks it out of the park, printing the table headers and the team's stats for the 2022 season to the console. It's like hitting a grand slam home run in the bottom of the ninth inning! So come on, step up to the plate and give this program a swing. Who knows? Maybe you'll hit a home run too!

Fixes #1