Player Splits Tool
We have an interactive splits tool that allows you to create your own custom reports by combining splits of various metrics. All the splits that FanGraphs hosts on our main player pages are featured here, along with some new ones — including times through the order, outs, and day/night.
The controls have five different sections: stats, splits, time frame, group by, and filter.
Stats
The “Stats” bar allows you to toggle between the three different groups of stats we currently host on a player’s split page. This isn’t too different from the standard, advanced and batted-ball tabs we feature elsewhere on the site.
Splits
The “Splits” bar is the most important control within the splits tool; this is where you can select which splits are applied. When no splits are applied, you’ll get the full season stats. When a split is applied like “vs. LHP,” you’ll get only the plate appearances against a left-handed pitcher. If you add another split like “Groundballs,” you’ll get all ground balls against left-handed pitchers. As you add splits from different categories, you’ll narrow the number of plate appearances.
The splits which are applied appear as blue blocks above the table. If you wish to remove a split, either click the “X” on the split or unselect it within its menu.
Mutually exclusive splits will be additive. Instead of narrowing the number of plate appearances, you will widen it. For example, selecting the splits “Line Drives” and “Flyballs” produces splits which include either a fly ball or line drive. If should also be noted that if you select every option within a mutually exclusive group (ie. “No Outs,” “1 Out” and “2 Outs”), you effectively haven’t applied any split, since all the plate appearances will be included.
There is no limit to how many splits you can apply, but you might not have a meaningful result getting either a small sample or full-season stats.
Group By
The “Group By” bar allows you to select how the stats are organized. You can see the career totals, or have them broken out by season, month, weeks, or even games.
Filter
The tool also includes filtering options. These filtering options allow you to remove the lines of stats which don’t meet a specific criteria.
For example, if you wanted to view only those seasons in which Dexter Fowler recorded more than 200 plate appearances at home, you can add a filter for that. You could also add a filter to see the seasons where Fowler had over a 20% strikeout rate on those splits. This filter also works if you group by months, weeks and games, so, for example, you could return all the games in which a player had three or more hits. Filters act like the splits in that they can be combined and customized.
Each filter has three different attributes: 1. What stat the filter uses, 2. What comparison operation is used and 3.) The value(s) to compare. A filter won’t change any values for the stat. It only affects which rows of stats are shown, not what data goes into calculating them – which is what the splits do.
You can theoretically have an unlimited number of filters, except you can only use one playing-time filter (IP, TBF, G, PA, and AB) at a time. Once you start adding too many filters, you might not have any rows left, because the filters are too restrictive.
Time Frame
You can also select a specific date range. To do this, we added the “Time Frame” control bar, which now contains all date-related splits and controls. This gives you the option to view plate appearances occurring in a month or season half, and the day or night time-of-day split. These are different from a custom date range. Choosing the “May” split in the filter menu will display plate appearances from every May. This would be used for getting career stats in May.
To look at splits from a specific date, there’s a drop-down calendar with which you can select the start date and end date. This will limit the splits to those specific days. This can be useful if you want to look at splits after a player returns from an injury, a trade or an adjustment. We’ve also included preset ranges like the last 30 days or the past calendar year. The calendar allows you to select both the beginning and end date on the same calendar and visualize the range. The Splits Reset button will reset just the splits, and the Reset button either on the “Time Frame” bar or in the calendar will reset just the date range.
Technical Notes and Documentation
General
The splits tool is built upon play-by-play data going back to 2002. This means this tool will only provide splits on the play-level and not the pitch level.
Creating specific splits can lead to small sample sizes, which can cause problems for stats that were created with full season, neutral context in mind. Some stats will behave oddly when splitting or creating a small sample. Fielding independent pitching (FIP) is a well-known of example of this. FIP is an ERA estimator based solely on innings pitched (IP), strikeouts (K), home runs (HR), hit by pitches (HBP) and walks (BB), if you create a split (say through an 0-2 count) where the Ks significantly outweigh HR, HBP, and BB, the FIP will be negative, which is not a valid value for ERA.
Times Through the Order
We include the first nine charged plate appearances. We encountered a few unique situations, where a player would not complete a plate appearance because of an out of the base paths. The first partial plate appearance does not count, but the second full plate appearance will.
You are able to specify “as SP” or “as RP” through the “Position” split.
Notes
- It’s possible to get no data for splits if there are no applicable plate appearances.
- There might be slight discrepancies in FIP, xFIP, wOBA and wRC+ between the splits tool and the legacy splits page, we used different methods to determine constants and adjustments to allow for flexibility.
- “As LHH” or “As RHH” will return only plate appearances. Stats from the base paths will be ignored.
- “First Half” and “Second Half” are determined by All-Star Games.
- The batting average stat for the split “Balls in Play” is NOT BABIP since it includes home runs. BABIP removes home runs.
- The “Count” splits represent when a plate appearance had that count at one point, not the count on which the plate appearance ended.
- The “Export Data” function will provide numbers as decimal and not percentages. It also won’t round to familiar formats. This provides more compatibility with Excel and other data-analysis software.
- Weeks begin on Monday and end on Sunday.
- Months are used in two areas: the “Time Frame” split menu and the “Group By” button bar. The split menu will filter plate appearances, while the “Group By” bar will determine if the stats should be combined together or delineated by month. For example, you could see how a player performed in March, April and May. By grouping by season, you will see one stat line for each season; if you grouped by month, it would show you one stat line for Apr/Mar and another for May.
- This has been tested on current versions of Chrome, Firefox and Safari. It may not be supported or fully supported on older browsers including Internet Explorer.
Neil Weinberg is the Site Educator at FanGraphs and can be found writing enthusiastically about the Detroit Tigers at New English D. Follow and interact with him on Twitter @NeilWeinberg44.