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
6ee1d5ac
Commit
6ee1d5ac
authored
Dec 01, 2022
by
Keisuke ANDO
😌
Browse files
Merge branch 'fix_read_rcl' into 'develop'
[fix]read_rclでrefereeのコマンドがteamとagentに抽出される問題の修正 See merge request
!1
parents
49e8ea6f
2065aa03
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/read_rcl.R
View file @
6ee1d5ac
...
...
@@ -10,7 +10,7 @@ read_rcl <- function(path) {
tibble
::
as_tibble
()
|>
dplyr
::
mutate
(
step
=
value
|>
stringr
::
str_extract
(
"\\d+"
),
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)"
),
unum
=
agent
|>
stringr
::
str_extract
(
"([0-9]{1,2}|Coach)$"
),
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