Skip to content

Commit

Permalink
#56 updated accordingly to pull request checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav committed Jul 31, 2024
1 parent a79f5e0 commit b321190
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data-raw/eg.R
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b321190

Please sign in to comment.