MLB Pitch Codes
Value
Returns a tibble with the following columns
col_name | types |
pitch_code | character |
pitch_description | character |
Examples
# \donttest{
try(mlb_pitch_codes())
#> ── MLB Pitch Codes data from MLB.com ──────────────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:16:22 UTC
#> # A tibble: 32 × 2
#> pitch_code pitch_description
#> <chr> <chr>
#> 1 R Strike - Foul on Pitchout
#> 2 Y Pitchout Hit Into Play - Out(s)
#> 3 M Strike - Missed Bunt
#> 4 X Hit Into Play - Out(s)
#> 5 O Strike - Bunt Foul Tip
#> 6 E Hit Into Play - Run(s)
#> 7 D Hit Into Play - No Out(s)
#> 8 Q Strike - Swinging on Pitchout
#> 9 Z Pitchout Hit Into Play - Run(s)
#> 10 F Strike - Foul
#> # … with 22 more rows
# }