View source: R/mlb_event_types.R
| mlb_event_types | R Documentation |
MLB Event Types
mlb_event_types()
Returns a tibble with the following columns
| col_name | types | description |
| plate_appearance | logical | Whether the event counts as a plate appearance. |
| hit | logical | Whether the event is a hit. |
| event_code | character | Event type code. |
| base_running_event | logical | Whether the event is a base-running event. |
| event_description | character | Human-readable event description. |
try(mlb_event_types())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.