From 6b66b152ec5577f47d246691227707d2539ef039 Mon Sep 17 00:00:00 2001 From: Pooja Kumari Date: Mon, 12 Feb 2024 13:17:05 +0530 Subject: [PATCH] #82 Resolve Bug: Duplicate observation for group USUBJID and VISIT --- R/data.R | 3 ++- data-raw/sv.R | 12 ++++++++++++ data/sv.rda | Bin 10100 -> 10062 bytes man/sv.Rd | 3 ++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/R/data.R b/R/data.R index adf6077..4ed3459 100644 --- a/R/data.R +++ b/R/data.R @@ -218,7 +218,8 @@ #' Subject Visits Dataset #' -#' A SDTM SV dataset from the CDISC pilot project +#' A SDTM SV dataset from the CDISC pilot project. Duplicate observation for group +#' variable USUBJID and VISIT is corrected. #' #' @source \url{https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/sv.xpt?raw=true} # nolint "sv" diff --git a/data-raw/sv.R b/data-raw/sv.R index 3a40165..178173a 100644 --- a/data-raw/sv.R +++ b/data-raw/sv.R @@ -4,9 +4,21 @@ # Load libraries ----- library(haven) library(admiral) +library(dplyr) raw_sv <- read_xpt("https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/sv.xpt?raw=true") # nolint sv <- convert_blanks_to_na(raw_sv) +sv <- sv %>% + group_by(USUBJID, VISITNUM) %>% + mutate( + ASEQ = row_number(), + n=n()) %>% + mutate( + VISIT = ifelse(n > 1, paste0("UNSCHEDULED ", floor(VISITNUM), ".", ASEQ), VISIT), + VISITNUM = ifelse(n > 1, as.numeric(paste0(floor(VISITNUM), ".", ASEQ)), VISITNUM)) %>% + ungroup() %>% + select(-ASEQ,-n) + # Label dataset ---- attr(sv, "label") <- "Subject Visits" diff --git a/data/sv.rda b/data/sv.rda index c24f1cc06961abb8a4577fe25668b3edd06c91cb..ff082ed96ba1036df4a2cf08e602b85047b783a4 100644 GIT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~>#?7?(~VYL`T129Uq^&2_^eYM z*f`{zz8-P&1BuTo;&vQtuH}c5tTRrEMwR z&uDe1(LeeWl3%A?vwvhfc)j-^&9}DlVQo?Kv9b-Tm~%~FsN@(}!u%*B(zVz8*bDBORIkqvLg4{8a^M`#mH1!{z<+ nUnAeEpShnS9IHt<iWu diff --git a/man/sv.Rd b/man/sv.Rd index cc9f846..c314008 100644 --- a/man/sv.Rd +++ b/man/sv.Rd @@ -14,6 +14,7 @@ An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) w sv } \description{ -A SDTM SV dataset from the CDISC pilot project +A SDTM SV dataset from the CDISC pilot project. Duplicate observation for group +variable USUBJID and VISIT is corrected. } \keyword{datasets}