get_reference_team_mlb: Estadisticas de los equipos de la MLB en Baseball Reference

Description Usage Arguments Value Examples

View source: R/get_reference_team_mlb.R

Description

Estadisticas de los equipos de la MLB en Baseball Reference

Usage

1
2
3
4
5
get_reference_team_mlb(
  year = year_actual,
  stats = "batting",
  type = "standard"
)

Arguments

year

numeric

stats

character

type

character

Value

Estadisticas de la MLB en baseball-reference.com

Examples

1
2
3
4
5
6
7
8
9
# year = year que queremos visualizar
# stats = batting, pitching, fielding
# type = 'standard', 'appearances', 'pitcher', 'catcher', 'firstbase', 'secondbase',
# 'thirdbase',  'shortstop', 'leftfield', 'centerfield', 'rightfield', 'outfield'
# 'standard', 'advanced', 'value', 'probability', 'ratio', 'baserunning', 'batting',
# 'battingagainst', 'startingpitching'
#
# Get las estadisticas de pitcheo de 1873
 get_reference_team_mlb(2015, "pitching", "standard")

mlbstatsR documentation built on Sept. 14, 2021, 1:06 a.m.