From b321190704b2dfc74cdffaa0464c192ed13f0a5e Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Wed, 31 Jul 2024 12:19:19 +0000 Subject: [PATCH] #56 updated accordingly to pull request checklist --- data-raw/eg.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data-raw/eg.R b/data-raw/eg.R index aaee4fa..7cd6c90 100644 --- a/data-raw/eg.R +++ b/data-raw/eg.R @@ -1,3 +1,6 @@ +# Dataset: eg_test +# Description: Standard EG dataset from CDISC pilot study (includes random data) + # Load necessary libraries library(dplyr) library(labelled) @@ -182,7 +185,7 @@ add_patient <- function(usubjid) { # Apply the add_patient function to each subject ID and combine results eg_test <- lapply(usubjids, add_patient) %>% - bind_rows() %>% + bind_rows() %>% select( STUDYID, DOMAIN,