Skip to content

Commit

Permalink
#33 recist: add TRGRPID
Browse files Browse the repository at this point in the history
  • Loading branch information
bundfussr committed Aug 29, 2023
1 parent 073d232 commit 228a48c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data-raw/tr_onco_recist.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ suppress_warning(

tr <- bind_rows(tr, tr_radio1, tr_radio2) %>%
select(-diff_percent) %>%
mutate(
TRGRPID = if_else(
substr(TRLINKID, 1, 1) == "T",
"TARGET",
"NON-TARGET"
),
.before = TRLINKID
) %>%
mutate(
TREVAL = if_else(is.na(TREVALID), "INVESTIGATOR", "INDEPENDENT ASSESSOR"),
.before = TREVALID,
Expand Down
Binary file modified data/tr_onco_recist.rda
Binary file not shown.

0 comments on commit 228a48c

Please sign in to comment.