View source: R/extractProbandInfos.R
extractProbandInfos | R Documentation |
get patient characteristics from the table DID_PROBAND
extractProbandInfos(
DID_PROBAND,
parameter = c("ZENTRUM", "AGE", "SEX", "WEIGHT", "HEIGHT", "BMI", "COB", "COBM",
"COBF", "ABKDAYS_BEVOR", "CAPSYS")
)
DID_PROBAND |
data.table containing the table DID_PROBAND from the database of the PROGRESS study |
parameter |
a character vector with the names of the charcteristics to be extracted. |
a data.table with the PATSTUID and the extracted or computed patient characteristics.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
DID_PROBAND <- readxl::read_excel(excel_fn, "DID_PROBAND")
data.table::setDT(DID_PROBAND)
extractProbandInfos(DID_PROBAND, parameter = "BMI")
extractProbandInfos(DID_PROBAND, parameter = c("BMI", "AGE"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.