Created
September 8, 2022 22:28
-
-
Save tonyelhabr/d2f12fbfbb0ba9b24464cd11c74b8034 to your computer and use it in GitHub Desktop.
2022 UCL Final from Fotmob
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(dplyr) | |
| library(worldfootballR) | |
| match <- fotmob_get_matches_by_date('2022-05-28') |> filter(name == 'Champions League Final Stage') | |
| match_details <- fotmob_get_match_details(match$match_id) | |
| match_details |> select(id, home_team, home_team_id, away_team, away_team_id, team_id, min, min_added, xg = expected_goals) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment