bballHR | R Documentation |
This dataset provides annual statistics for Major League Baseball (MLB) players, including home run counts, at-bats, mean exit velocities, launch angles, quantile statistics of exit velocities and launch angles, and red zone metrics. It is intended for analyzing batted ball performance, with additional variables on the red zone, which is defined as balls in play with a launch angle between 20 and 35 degrees and an exit velocity of at least 95 mph.
bballHR
A data frame with the following columns:
Player's full name (character).
Player's unique identifier in the Lahman database (character).
Team abbreviation (character).
Season year (numeric).
Home runs hit during the season (integer).
At-bats during the season (integer).
Average exit velocity (mph) over the season (numeric).
Average launch angle (degrees) over the season (numeric).
Launch angle at the 75th percentile of the player's distribution (numeric).
Launch angle at the 70th percentile of the player's distribution (numeric).
Launch angle at the 65th percentile of the player's distribution (numeric).
Exit velocity at the 75th percentile of the player's distribution (numeric).
Exit velocity at the 80th percentile of the player's distribution (numeric).
Exit velocity at the 85th percentile of the player's distribution (numeric).
Seasonal count of batted balls in the red zone, defined as a launch angle between 20 and 35 degrees and an exit velocity greater than or equal to 95 mph (integer).
Proportion of batted balls that fall into the red zone (numeric).
Ballpark factor, indicating the effect of the player's home ballpark on offensive statistics (integer).
mean_exit_velo
and mean_launch_angle
represent the player's average exit velocities and launch angles, respectively, over the course of a season.
The launch_angle_xx
and exit_velo_xx
columns denote the upper x
-percentiles (e.g., 75th percentile) of the player's launch angle and exit velocity distributions for that year.
count_red_zone
gives the number of balls in play that fall into the red zone, while prop_red_zone
represents the proportion of balls in play in this category.
The Ballpark Factor (BPF) quantifies the influence of the player's home ballpark on offensive performance, with values above 100 indicating a hitter-friendly environment.
Player statistics: Lahman R Package
Batted ball data: Baseball Savant
Additional analysis: Patterns of Home Run Hitting in the Statcast Era by Jim Albert
data(bballHR)
head(bballHR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.