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.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:37 UTC
#> # A tibble: 39 × 10
#> pitch_code pitch_description swing_status swing_miss_status
#> <chr> <chr> <lgl> <lgl>
#> 1 VC Ball - Automatic (Pitch Ti… FALSE FALSE
#> 2 VS Ball - Automatic (Shift Vi… FALSE FALSE
#> 3 AC Strike - Automatic (Pitch … FALSE FALSE
#> 4 AB Strike - Automatic (Batter… FALSE FALSE
#> 5 VB Ball - Automatic (IBB) FALSE FALSE
#> 6 PSO Pitcher Step Off FALSE FALSE
#> 7 VP Ball - Automatic (Pitch Ti… FALSE FALSE
#> 8 R Strike - Foul on Pitchout TRUE FALSE
#> 9 Y Pitchout Hit Into Play - O… TRUE FALSE
#> 10 M Strike - Missed Bunt FALSE FALSE
#> # ℹ 29 more rows
#> # ℹ 6 more variables: swing_contact_status <lgl>, sort_order <int>,
#> # strike_status <lgl>, ball_status <lgl>, pitch_status <lgl>,
#> # pitch_result_text <chr>
# }