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
81792ffc
Commit
81792ffc
authored
Dec 06, 2022
by
Keisuke ANDO
😌
Browse files
Merge branch 'develop' into 'read_rcg'
# Conflicts: # R/read_rcl.R
parents
20665a73
6ee1d5ac
Changes
1
Show whitespace changes
Inline
Side-by-side
R/read_rcl.R
View file @
81792ffc
...
@@ -10,7 +10,7 @@ read_rcl <- function(path) {
...
@@ -10,7 +10,7 @@ read_rcl <- function(path) {
tibble
::
as_tibble
()
|>
tibble
::
as_tibble
()
|>
dplyr
::
mutate
(
dplyr
::
mutate
(
step
=
value
|>
stringr
::
str_extract
(
"\\d+"
)
|>
as.numeric
(),
step
=
value
|>
stringr
::
str_extract
(
"\\d+"
)
|>
as.numeric
(),
agent
=
value
|>
stringr
::
str_extract
(
"\\w+_([0-9]{1,2}|Coach)"
),
agent
=
value
|>
stringr
::
str_extract
(
"\\w+_([0-9]{1,2}|Coach)
(?!\\))
"
),
team
=
agent
|>
stringr
::
str_remove
(
"_([0-9]{1,2}|Coach)"
),
team
=
agent
|>
stringr
::
str_remove
(
"_([0-9]{1,2}|Coach)"
),
unum
=
agent
|>
stringr
::
str_extract
(
"([0-9]{1,2}|Coach)$"
),
unum
=
agent
|>
stringr
::
str_extract
(
"([0-9]{1,2}|Coach)$"
),
commands
=
value
|>
commands
=
value
|>
...
...
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