From a202ee9e0f47db61ff44b0833691e764b09546de Mon Sep 17 00:00:00 2001 From: takumiamano Date: Fri, 9 Dec 2022 17:57:13 +0900 Subject: [PATCH] =?UTF-8?q?[fix]get=5Fpass=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- R/make_data.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/make_data.R b/R/make_data.R index 47cb387..d6c8967 100755 --- a/R/make_data.R +++ b/R/make_data.R @@ -185,7 +185,7 @@ get_pass <- function(kick) { output <- kick |> dplyr::filter(pass == TRUE) %>% distinct(step, .keep_all = TRUE) %>% - select(-c(a_tackle_scc, tackle_scc, pass, a_sameteam, a_sameunum, next_team, next_unum)) + dplyr::select(step,team,numu,px,py,pvx,pvy,ball_x,ball_y,ball_vx,ball_vy,next_ball_x,next_ball_y,next_ball_vx,next_ball_vy,pass,pass_scc) return(output) } -- GitLab