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.2.0 ──
#>  Data updated: 2022-04-30 07:16:09 UTC
#> # A tibble: 7 × 2
#>   hit_trajectory_code hit_trajectory_description
#>   <chr>               <chr>                     
#> 1 bunt_grounder       Bunt - Ground Ball        
#> 2 bunt_line_drive     Bunt - Line Drive         
#> 3 fly_ball            Fly Ball                  
#> 4 ground_ball         Ground Ball               
#> 5 line_drive          Line Drive                
#> 6 bunt_popup          Bunt - Popup              
#> 7 popup               Popup                     
# }