Get ESPN's MLS team box data
espn_mls_team_box(game_id)
Game ID
Returns a team boxscore data frame
# \donttest{
try(espn_mls_team_box(game_id = 598135))
#> statistics
#> 1 12, 2, 0, 2, 9, 2, 61.4, 18, 4, foulsCommitted, yellowCards, redCards, offsides, wonCorners, saves, possessionPct, totalShots, shotsOnTarget, Fouls, Yellow Cards, Red Cards, Offsides, Corner Kicks, Saves, POSSESION, SHOTS, ON GOAL
#> 2 13, 2, 0, 2, 5, 2, 38.6, 9, 3, foulsCommitted, yellowCards, redCards, offsides, wonCorners, saves, possessionPct, totalShots, shotsOnTarget, Fouls, Yellow Cards, Red Cards, Offsides, Corner Kicks, Saves, POSSESION, SHOTS, ON GOAL
#> team.shortDisplayName team.uid team.alternateColor team.color
#> 1 Atlanta s:600~t:18418 ccfcfc 000000
#> 2 Cincinnati s:600~t:18267 F36600 001f5e
#> team.displayName team.name
#> 1 Atlanta United FC Atlanta United FC
#> 2 FC Cincinnati FC Cincinnati
#> team.logo team.location
#> 1 https://a.espncdn.com/i/teamlogos/soccer/500/18418.png Atlanta United FC
#> 2 https://a.espncdn.com/i/teamlogos/soccer/500/18267.png FC Cincinnati
#> team.id team.abbreviation team.slug team.uniform.alternateColor
#> 1 18418 ATL usa.atlanta_united_fc CC9900
#> 2 18267 CIN fc_cincinnati FF3300
#> team.uniform.color team.uniform.type
#> 1 FFFFFF away
#> 2 0000FF home
# }