Description Usage Arguments Value Examples
View source: R/get_reference_team_mlb.R
Estadisticas de los equipos de la MLB en Baseball Reference
1 2 3 4 5 | get_reference_team_mlb(
year = year_actual,
stats = "batting",
type = "standard"
)
|
year |
numeric |
stats |
character |
type |
character |
Estadisticas de la MLB en baseball-reference.com
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.