You Are Here > Baseball-Reference.com > Blog > Baseball Stats and Analysis

B-R Blog & Stat of the Day

Numbers, News, and Notes

Archive for the 'Site Features' Category

Using the New PI to Sort Splits

12th November 2009

One of the interesting new features of the PI is the sortable summary provided when using the game finder. This summation provides the total statistics of the games found can be ranked by a variety of different stats. I find this very exciting because it represents the first step in searching splits. Let me explain with an example.

Suppose we wanted to find the player with the most hits on the road in a single season.

  1. Use the Game Finder called Player Batting.
  2. select "Find Players with Most Matching Games in a Season"
  3. Limit your search to Visitor
  4. Search for H>=1

That will provide you with this list:

Rk Player Year #Matching PA AB H 2B 3B HR RBI BB SO BA OBP SLG OPS SH SF IBB HBP GDP
1 Lou Brock 1969 72 Ind. Games 340 319 116 23 7 6 26 18 59 .364 .398 .536 .934 1 1 8 1 2
2 Ichiro Suzuki 2001 70 Ind. Games 348 330 128 17 5 3 35 9 29 .388 .410 .497 .907 2 2 2 5 1
3 Ichiro Suzuki 2004 69 Ind. Games 344 322 145 15 5 4 40 18 23 .450 .480 .565 1.045 0 2 10 2 3
4 Bobby Richardson 1962 68 Ind. Games 345 323 117 22 3 5 33 11 12 .362 .381 .495 .876 9 2 1 0 5
5 Jim Rice 1977 68 Ind. Games 308 282 106 13 7 12 38 22 43 .376 .429 .599 1.028 0 0 2 4 6
6 Don Mattingly 1986 68 Ind. Games 328 303 131 30 2 14 53 21 16 .432 .463 .683 1.147 0 4 6 0 9
7 Felipe Alou 1968 68 Ind. Games 319 294 110 19 3 7 34 22 27 .374 .417 .531 .948 0 2 6 1 7
8 Hank Aaron 1956 68 Ind. Games 299 280 114 19 10 11 51 13 15 .407 .426 .664 1.090 1 5 4 0 9
Provided by Baseball-Reference.com: View Play Index Tool Used
Generated 11/12/2009.

Until now we had to stop at this point and say that "Lou Brock had the most road games with a hit in a season (since 1954)". However, the new version of PI lets us take this a step further. Assuming that it is logical that the player with the most hits on the road in a season would be among the top 300 in games with a hit, we can find that player by sorting for hits. After completing the above search, simply click on the column heading "H" and you will be presented with this list:

Rk Player Year #Matching PA AB H 2B 3B HR RBI BB SO BA OBP SLG OPS SH SF IBB HBP GDP
1 Ichiro Suzuki 2004 69 Ind. Games 344 322 145 15 5 4 40 18 23 .450 .480 .565 1.045 0 2 10 2 3
2 Don Mattingly 1986 68 Ind. Games 328 303 131 30 2 14 53 21 16 .432 .463 .683 1.147 0 4 6 0 9
3 Lance Johnson 1996 67 Ind. Games 316 293 128 19 9 8 38 19 12 .437 .470 .645 1.115 1 2 4 1 2
4 Ichiro Suzuki 2001 70 Ind. Games 348 330 128 17 5 3 35 9 29 .388 .410 .497 .907 2 2 2 5 1
5 Mark Loretta 2004 67 Ind. Games 328 292 126 24 2 5 40 24 17 .432 .466 .579 1.045 0 9 1 3 6
6 Paul Molitor 1991 65 Ind. Games 319 285 124 18 5 10 36 30 22 .435 .492 .639 1.131 0 0 8 2 1
7 Felipe Alou 1966 67 Ind. Games 321 306 123 21 6 12 34 9 29 .402 .425 .627 1.052 1 1 2 4 3
8 Matty Alou 1969 66 Ind. Games 313 299 121 23 6 0 27 12 10 .405 .431 .522 .953 0 0 3 2 2
9 Joe Torre 1971 66 Ind. Games 299 272 121 19 3 15 65 25 30 .445 .493 .702 1.195 1 0 9 1 9
10 Willie Wilson 1980 61 Ind. Games 296 287 120 14 8 1 22 6 26 .418 .434 .533 .967 1 0 0 2 1
Provided by Baseball-Reference.com: View Play Index Tool Used
Generated 11/12/2009.

Brock drops down to #22 and Ichiro now tops the leader board!
Let's do the same thing for hits at home:

Rk Player Year #Matching PA AB H 2B 3B HR RBI BB SO BA OBP SLG OPS SH SF IBB HBP GDP
1 Darin Erstad 2000 70 Ind. Games 328 304 135 21 1 11 57 22 37 .444 .479 .628 1.107 0 2 2 0 3
2 Kirby Puckett 1988 66 Ind. Games 293 279 131 26 5 13 58 11 32 .470 .491 .738 1.230 0 1 3 2 3
3 Wade Boggs 1985 71 Ind. Games 328 281 130 24 2 6 38 43 31 .463 .535 .626 1.162 1 1 2 2 9
4 Ellis Burks 1996 65 Ind. Games 310 275 129 31 6 23 78 29 45 .469 .521 .876 1.397 1 2 2 3 8
5 Dante Bichette 1998 65 Ind. Games 293 279 128 25 2 17 78 12 20 .459 .481 .746 1.227 0 1 2 1 8
6 Jeff Cirillo 2000 67 Ind. Games 317 273 128 36 1 9 74 36 24 .469 .525 .707 1.232 1 5 1 2 7
7 Kirby Puckett 1989 67 Ind. Games 294 278 128 28 2 7 51 12 18 .460 .480 .651 1.131 0 3 5 1 6
8 Eric Young 1996 62 Ind. Games 310 277 127 13 4 7 55 22 10 .458 .506 .610 1.117 0 3 1 8 2
9 Kirby Puckett 1986 64 Ind. Games 297 280 127 21 6 14 49 9 34 .454 .481 .721 1.203 2 0 2 6 3
10 Rod Carew 1977 69 Ind. Games 318 280 126 23 8 8 53 32 23 .450 .502 .675 1.177 1 4 8 1 2
Provided by Baseball-Reference.com: View Play Index Tool Used
Generated 11/12/2009.

Clearly, this technique is limited. It can't be used for stats that usually occur in bunches (most pitching stats). It also can't be used for rate stats like batting average. However, for a lot of hitting stats it can be a fun and useful new tool.

Posted in Game Finders, Leaders, Site Features, Splits | 7 Comments »

PI Finds: Batting Season Finder

11th November 2009

With the new additions to the Play Index, you can run a wider variety of queries than ever before. Here are just a few examples...

Read the rest of this entry »

Posted in Site Features | 4 Comments »

Play Index Update and Free 10-Day Trial

10th November 2009

Baseball-Reference.com Play Index / Subscribe to the Play Index

We did a major reworking of nearly the entire website last April. One area that remained unchanged was the Play Index. It took seven months, but the Play Index has finally been updated to match the rest of the site including features like in table sorting, the Share Tool, and pre-formatted and csv text. I have also reworked a number of the tools allowing for more types searches.

The main advantage to this update besides those listed above is that these changes will speed the development of new features dramatically. I've basically been on hold for new Play Index features for 18 months as I worked to move the entire site over to our new platform. Thankfully, that is essentially done now, and we can focus on improvements and additions rather than refactoring old code.

Some of the new features.

I've added a fifth criteria for the game and season finders allowing searches like seasons with "HR > SO" or "CS > SB". This is still pretty crude, but it is a first step toward full arithmetic searches.

The season and game finders now have more matching options at the top of the forms. Most of these options were already in the tools, but were buried in the sort options. These are for searches like "Most multi-hit games in career, 1954-2009" or "Most 20-HR seasons".

For the game finders there are additional new features. When doing a matching search (like "most games with a home run in first 50 games"), you also get a summary line for all of the games matching that search, which allows you to definitively say that Wally Joyner has the most home runs in a player's first 50 games since 1954. This also gives you a way to do a reasonable good split search ("Most wins against the Blue Jays in the last ten years"). There are also more matching options for things like most players with a multiple hits in a single game for one team or both teams.

I've also re-organized the front page and now show only the last 30 days of saved searches by default.

We are also going to add a few more photos to Play Index, so look for those later this week.

Special thanks to our team of bloggers who put these updated tools through their paces. They will be highlighting some of the new things you can do in upcoming blog posts. There are definitely still bugs in there to be ironed out. There are millions of potential searches to do, so we just can't test every possible combination. You can report issues you find through our bug system. Suggestions are also welcome there. Please be as specific as you can.

Subscribe to the Play Index

To celebrate the update, we are offering a free trial for the play index through November 20th. Give it a whirl for free and we hope you'll find it worth your while to subscribe after the 20th. Also, it has been three years since we launched the Play Index and our prices have held constant during that time. We have increased the prices with this update, so that a full year subscriptions has gone from $29 to $36/year.

If something isn't working as before and you really, really can't wait for it to get fixed, the old version is still available.

Thank you for your support of Baseball-Reference.com and your feedback is always appreciated.

Posted in Administration, Announcements, Site Features, Uncategorized | 12 Comments »

Oracle of Baseball Updated

10th November 2009

Chain of Teammates from Bid McPhee to Elvis Andrus

Just updated the oracle with the 2009 player data. Enjoy.

Posted in Announcements, Power Users, Site Features | 2 Comments »

Tutorial Videos: Share Tool

3rd November 2009

Here's a tutorial video on how to use our new Share Tool:

Posted in Site Features, Tutorial Videos | 2 Comments »

B-R User Survey

3rd November 2009

B-R User Survey

Most all of the good ideas on Baseball-Reference.com have come from user suggestions or comments. It's been awhile since we ran a survey to get user feedback on what you think of the site and what things you would like to see added. So I would like to take this time to ask you for your feedback. The survey should take 5-10 minutes, and you should feel free to leave anything you want blank.

Users with a sponsorship account will get a $2 bonus upon the completion of a survey.

Posted in Administration, Announcements, Power Users, Site Features, Suggestions | 2 Comments »

Feature Watch: Postseason Section

21st October 2009

With the World Series rapidly approaching, now seems like a good time to give a tour of the expansive Postseason Section we have here at Baseball-Reference. In some ways, our postseason record is more complete than the regular-season one -- our regular-season boxscores only go back to 1954, but we have complete boxscores and play-by-play records for every postseason game ever played (if you don't believe me, check out the first World Series game ever). The play-by-play accounts even feature Win Probability! From 1903!

But that's not all. Beyond the box scores, you can take a broader view of each playoff matchup in history using our series pages, which contain basic linescores for each game of the series, as well as aggregate series pitching and batting stats. These pages are current as of the previous day's action, so feel free to check out an ongoing series or two. Also, take a trip around our leaderboards to learn about all-time postseason records:

Finally, our Play Index Batting and Pitching Event Finders let you search through every play in postseason history, up to and including the previous day's games. And as always, let us know your questions or comments, so that we can continue to be your go-to baseball website all year long.

Posted in Site Features | Comments Off

Feature Watch: Cups o’ Coffee

14th October 2009

Wikipedia defines a "Cup of Coffee" as,  "a short time spent by a minor league player at the major league level. The idea behind the term is that the player was only in the big leagues long enough to have a cup of coffee before being returned to the minors."

All of you have heard this term before, of course, but maybe you haven't seen the Cups of Coffee page here at Baseball-Reference. If you've ever wondered about players who played just one major-league game in their career and were never seen again at the big-league level, that page is your one-stop source -- it contains every instance in history of a player suiting up for only 1 career MLB outing. Yes, that includes Moonlight Graham, who was a real person and really did play just 1 game (0 AB) for the Giants in 1905 before becoming a doctor in Chisholm, MN.

So for more people who may be just as interesting (if not a famous) as Graham, check out the Cups of Coffee and think about some otherwise-forgotten players who never got a second chance at The Show.

Posted in Site Features | 8 Comments »

Postseason Game Previews

12th October 2009

Monday, October 12, 2009 Game Previews - Baseball-Reference.com

There are a lot of balls in the air behind the scenes at Baseball-Reference.com and one of the places they tend to hit the ground is at the interface between regular and postseason stats.

I've fixed a couple of issues with the regular and postseason stats. The game previews for postseason games now combine regular and postseason stats in (what I think) is a sensible way.

The batter vs. pitcher tools now include an option for including postseason stats as well. For example, here is Cliff Lee vs. the Rockies including postseason stats or just with regular season stats. Please let me know whatever issues you find.

Posted in Administration, Pitcher vs. Batter, Postseason, Site Features | 3 Comments »

Feature Watch: Team Gamelogs

7th October 2009

Recently, we've been discussing how to maximize your use of our individual batting and pitching gamelogs, so the next logical step is to apply what we've learned so far to the team batting and pitching logs.

To access the logs at the team level, go to any team page, and hover your mouse over the "Batting [+]" section of the navigation bar under the banner ad. In the drop-down menu, click "Game Logs":

http://www.baseball-reference.com/teams/tgl.cgi?t=b&team=MIN&year=2009

What you see should look familiar from our individual batting gamelogs... As always, the ultra-cool row-summing feature works here, allowing you to get totals and averages over any span of games you desire, The usual batting categories are present as well, and if you click on the blue text in the  "Date" column, you can go to the boxscore of the specific game in that row. Furthermore, recall that clicking the red text in the Gtm column will pop up a small box containing the team's stats through the game in question, as was the case in our indivdual logs.

Turn your attention to the far right side of the table, and you'll see a column for runners left on base, plus the number of batters used by the team in each game, and the opposing starter faced (including his handedness and the Bill James game score he posted vs. the team in that particular game). Above each table is another place for interesting data -- there you will find the team's situational record vs. righty and lefty starters, as well as the longest team streaks of the season with and without a home run.

Now, on to the pitching side:

http://www.baseball-reference.com/teams/tgl.cgi?team=MIN&t=p&year=2009

The same lessons learned on our individual pitching gamelogs will serves you well on these team pages, because you'll be able to sum rows, access game-by-game boxscores (blue text), and call up the year-to-date info via the red text in the Gtm column. The only difference you'll notice will be on the far right side of the table, where you'll see a column for the number of pitchers used, as well as another column identifying exactly who those pitchers were (in order of appearance), the number of rest days they pitched on, their game score for the outing, and which decision (if any) they were tagged with. And last but not least, below the table on these team pitching log pages is the familiar run support table, which lists how often the team helped its pitchers with each number of runs per game.

Enjoy these team features as a companion to the player-based logs we've already discussed, and as always, let us know about any questions or comments you may have.

Posted in Site Features | 1 Comment »