Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion B5.SingleGamexG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ shotData <- events %>% filter(match_id == randomMatch & shot.statsbomb_xg > 0)
shotData$Timer <- shotData$minute + (shotData$second / 60)

## drop all unneeed data to make it easier to work with the data
shotData <- shotData[c(19,54,61,147)]
shotData <- shotData[c(19,54,61,141)]

## Create a dataframe just for the Team 1 and Team 2
T1_shotData <- shotData %>% filter(team.name == unique(shotData$team.name)[1])
Expand Down