View source: R/mlb_positions.R
| mlb_positions | R Documentation |
MLB Positions
mlb_positions()
Returns a tibble with the following columns
| col_name | types | description |
| position_short_name | character | Short position name (e.g. 'Pitcher'). |
| position_full_name | character | Full position name. |
| position_abbreviation | character | Position abbreviation (e.g. 'P', 'SS'). |
| position_code | character | Numeric scorekeeping position code. |
| position_type | character | Position category (e.g. 'Pitcher', 'Infielder'). |
| position_formal_name | character | Formal position name. |
| position_display_name | character | Display name for the position. |
| outfield | logical | Whether the position is an outfield position. |
| game_position | logical | Whether it is an on-field game position. |
| pitcher | logical | Whether the position is a pitcher. |
| fielder | logical | Whether the position is a fielder. |
try(mlb_positions())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.