View source: R/getData4abiot_chrbettl.R
getData4abiot_chrbettl | R Documentation |
Get data on antibiosis before hospital admission (ABIOT), chronic bed confinement (CHRBETTL).
getData4abiot_chrbettl(FRM_BAS)
FRM_BAS |
data.table containing the table FRM_BAS from the database of the PROGRESS study |
data.table with the ID of the patient (PATSTUID), time point (EVENT), and the information on antibiosis before hospital admission (ABIOT), chronic bed confinement (CHRBETTL). Table FRM_BAS contains values at EVENT == 3 at present.
## Not run:
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
FRM_BAS <- readxl::read_excel(excel_fn, 'FRM_BAS')
data.table::setDT(FRM_BAS)
res <- getData4abiot_chrbettl(FRM_BAS)
res[]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.