Okay, so today I wanted to mess around with some sports data, specifically the Cape Cod Baseball League standings. I’ve always been a bit of a baseball stats nerd, and I figured this would be a fun little project.

First, I needed to find the data. I did a quick search, you konw just googling around,typing “Cape League standings”.The official website is good, that’s where I landed.
Once I found a good source, I needed to figure out how I wanted to display this. I mean, just staring at a wall of numbers isn’t exactly exciting. I thought about maybe making a simple table. So I opened up a text editor,Nothing fancy.
I started by manually copying and pasting the team names and their records. It was a bit tedious, I’m not gonna lie. I went team by team, typing in their wins, losses, and * calculate winning percentage, simple math,wins divided by total games.
Building the Standings Table
To keep things organized, I use some simple HTML tags.
- Team: Team Name
- W: Wins
- L: Losses
- T: Ties
- PCT: Winning Percentage
For each team,I manually copy info and did calculation.
After I got all the data in,I saved it.
It’s not the prettiest thing in the world, It’s functional, and it gives me the information I want in a clear, organized way. That’s really all that matters, right? It was a good way to kill a bit of time and play around with some data. Maybe next time I’ll try something a little more automatic, but for a quick and dirty look at the standings, this worked just fine!