mlb_positions: *MLB Positions*

View source: R/mlb_positions.R

mlb_positionsR Documentation

MLB Positions

Description

MLB Positions

Usage

mlb_positions()

Value

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.

Examples


  try(mlb_positions())


baseballr documentation built on Aug. 27, 2026, 1:07 a.m.