Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
arjoon-r committed Aug 22, 2023
1 parent 1e2de23 commit e106af5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions inst/create_vx_data/vx_suppis.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#creating suppis
library(tibble)
library(dplyr)
vx_suppis <- tribble(
~USUBJID, ~IDVAR, ~IDVARVAL, ~QNAM, ~QLABEL, ~QVAL, ~QORIG, ~QEVAL,
"ABC-1001", "ISSEQ", "1", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1001", "ISSEQ", "2", "LOD", "Limit of Detection", "5", "CRF", NA,
"ABC-1001", "ISSEQ", "3", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1001", "ISSEQ", "4", "LOD", "Limit of Detection", "8", "CRF", NA,
"ABC-1001", "ISSEQ", "5", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1001", "ISSEQ", "6", "LOD", "Limit of Detection", "5", "CRF", NA,
"ABC-1001", "ISSEQ", "7", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1001", "ISSEQ", "8", "LOD", "Limit of Detection", "8", "CRF", NA,
"ABC-1002", "ISSEQ", "1", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1002", "ISSEQ", "2", "LOD", "Limit of Detection", "5", "CRF", NA,
"ABC-1002", "ISSEQ", "3", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1002", "ISSEQ", "4", "LOD", "Limit of Detection", "8", "CRF", NA,
"ABC-1002", "ISSEQ", "5", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1002", "ISSEQ", "6", "LOD", "Limit of Detection", "5", "CRF", NA,
"ABC-1002", "ISSEQ", "7", "LOD", "Limit of Detection", "4", "CRF", NA,
"ABC-1002", "ISSEQ", "8", "LOD", "Limit of Detection", "8", "CRF", NA
) %>% mutate(
STUDYID = "ABC",
RDOMAIN = "IS"
) %>% select(STUDYID,RDOMAIN,USUBJID,IDVAR,IDVARVAL,QNAM,QLABEL,QVAL,QORIG,QEVAL)

dir <- tempdir()
save(vx_suppis, file = file.path(dir, "vx_suppis.rda"), compress = "bzip2")

0 comments on commit e106af5

Please sign in to comment.