Commit 3a4dc41e authored by Takumi Amano's avatar Takumi Amano 💬
Browse files

[fix]dribble_ALLの修正、フリーキック待機状態を省く

parent 5f7de2f7
...@@ -177,7 +177,8 @@ get_dribble_Allplayer <- function(players, dribble) { ...@@ -177,7 +177,8 @@ get_dribble_Allplayer <- function(players, dribble) {
dribble <- dribble %>% dribble <- dribble %>%
dplyr::select(step,dribble_team = team,ball_x,ball_y,ball_vx,ball_vy,next_ball_x,next_ball_y,next_ball_vx,next_ball_vy,dribble,dribble_scc) dplyr::select(step,dribble_team = team,ball_x,ball_y,ball_vx,ball_vy,next_ball_x,next_ball_y,next_ball_vx,next_ball_vy,dribble,dribble_scc)
output <- players %>% output <- players %>%
dplyr::inner_join(dribble, by = "step") dplyr::inner_join(dribble, by = "step") %>%
dplyr::distinct(step,team,unum, .keep_all = TRUE)
return(output) return(output)
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment