Commit 81792ffc authored by Keisuke ANDO's avatar Keisuke ANDO 😌
Browse files

Merge branch 'develop' into 'read_rcg'

# Conflicts:
#   R/read_rcl.R
parents 20665a73 6ee1d5ac
...@@ -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 |>
......
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