Skip to contents

MLB Hit Trajectories

Usage

mlb_hit_trajectories()

Value

Returns a tibble with the following columns

col_nametypes
hit_trajectory_codecharacter
hit_trajectory_descriptioncharacter

Examples

# \donttest{
  try(mlb_hit_trajectories())
#> ── MLB Hit Trajectories data from MLB.com ─────────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:27 UTC
#> # A tibble: 7 × 2
#>   hit_trajectory_code hit_trajectory_description
#>   <chr>               <chr>                     
#> 1 bunt_grounder       Bunt - Ground Ball        
#> 2 bunt_popup          Bunt - Popup              
#> 3 bunt_line_drive     Bunt - Line Drive         
#> 4 line_drive          Line Drive                
#> 5 ground_ball         Ground Ball               
#> 6 fly_ball            Fly Ball                  
#> 7 popup               Popup                     
# }