Description Usage Arguments Value Examples
View source: R/mlb_team_stats.R
Estadistica oficial bateo y pitcheo de los equipos de la MLB (baseball)
1  | mlb_team_stats(year = year_actual, stats = "hitting", season_type = "regular")
 | 
year | 
 numeric  | 
stats | 
 character  | 
season_type | 
 character  | 
Estadisticas de la pagina oficial mlb.com
1 2 3 4 5 6  | # year = year que queremos visualizar
# stats = hitting o pitching
# season_type = 'regular', 'playoffs', 'wildcard',
# 'divisionales', 'championship','mundiales' o 'pretemporada
# Get las estadisticas de pitcheo del 2018
mlb_team_stats(2018, "pitching", "regular")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.