generated from pharmaverse/admiraltemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#38) * #26: remove prefix update_/admiral_ * #26: use_data_raw() * #26: move data to data-raw * #26: update input data * #26: update program name/rerun * #26: rerun qs_ophtha * #26: set.seed for qs_ophtha * #26: update input data * #26: update data.R * #26: devtools::document() * #26: update .lintr, add batch_run.sh * #26: remove raw_domain
- Loading branch information
Showing
111 changed files
with
281 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ | |
^dev$ | ||
^vignettes/adxx\.Rmd$ | ||
^vignettes/pharmaversesdtm\.Rmd$ | ||
^data-raw$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
# direct copy from CDISC pilot | ||
Rscript data-raw/ex.R | ||
Rscript data-raw/cm.R | ||
Rscript data-raw/sv.R | ||
Rscript data-raw/ts.R | ||
Rscript data-raw/vs.R | ||
Rscript data-raw/dm.R | ||
|
||
# Update from CDISC pilot | ||
Rscript data-raw/ae.R | ||
Rscript data-raw/ds.R | ||
Rscript data-raw/lb.R | ||
Rscript data-raw/mh.R | ||
Rscript data-raw/qs.R | ||
|
||
# build from program | ||
Rscript data-raw/pc.R | ||
Rscript data-raw/pp.R | ||
Rscript data-raw/query_databases.R # sdg_db, smq_db | ||
|
||
|
||
# admiralophtha | ||
Rscript data-raw/ex_ophtha.R | ||
Rscript data-raw/qs_ophtha.R | ||
# admiralophtha build from program | ||
Rscript data-raw/oe_ophtha.R | ||
Rscript data-raw/sc_ophtha.R | ||
|
||
|
||
# admiralonco build from program | ||
Rscript data-raw/tr_onco.R | ||
Rscript data-raw/tu_onco.R | ||
Rscript data-raw/rs_onco.R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# from CDISC pilot study ---- | ||
library(haven) | ||
library(admiral) | ||
raw_cm <- read_xpt("https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/cm.xpt?raw=true") # nolint | ||
cm <- convert_blanks_to_na(raw_cm) | ||
|
||
usethis::use_data(cm, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# from CDISC pilot study ---- | ||
library(haven) | ||
library(admiral) | ||
sdtm_path <- "https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/" # nolint | ||
raw_dm <- read_xpt(paste0(sdtm_path, "dm", ".xpt?raw=true")) | ||
raw_suppdm <- read_xpt(paste0(sdtm_path, "suppdm", ".xpt?raw=true")) | ||
dm <- convert_blanks_to_na(raw_dm) | ||
suppdm <- convert_blanks_to_na(raw_suppdm) | ||
|
||
usethis::use_data(dm, overwrite = TRUE) | ||
usethis::use_data(suppdm, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# from CDISC pilot study ---- | ||
library(haven) | ||
library(admiral) | ||
raw_ex <- read_xpt("https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/ex.xpt?raw=true") # nolint | ||
ex <- convert_blanks_to_na(raw_ex) | ||
|
||
usethis::use_data(ex, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.