Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keisuke ANDO
socceR
Commits
3a4dc41e
Commit
3a4dc41e
authored
Dec 16, 2022
by
Takumi Amano
💬
Browse files
[fix]dribble_ALLの修正、フリーキック待機状態を省く
parent
5f7de2f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/make_data.R
View file @
3a4dc41e
...
...
@@ -177,7 +177,8 @@ get_dribble_Allplayer <- function(players, 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
)
output
<-
players
%>%
dplyr
::
inner_join
(
dribble
,
by
=
"step"
)
dplyr
::
inner_join
(
dribble
,
by
=
"step"
)
%>%
dplyr
::
distinct
(
step
,
team
,
unum
,
.keep_all
=
TRUE
)
return
(
output
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment