getData4albumin: Get the albumin levels from the database of the PROGRESS...

View source: R/getData4albumin.R

getData4albuminR Documentation

Get the albumin levels from the database of the PROGRESS study

Description

Get the albumin levels from the database of the PROGRESS study

Usage

getData4albumin(FRM_DIL_LABORWERTE)

Arguments

FRM_DIL_LABORWERTE

data.table containing the table so named from the database of the PROGRESS study

Value

data.table with the ID of the patient (patstuid), and the albumin level, in the wide format.

Examples

## Not run: 
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
FRM_DIL_LABORWERTE <- readxl::read_excel(excel_fn, "FRM_DIL_LABORWERTE")
data.table::setDT(FRM_DIL_LABORWERTE)
toadd_alb <- getData4albumin(FRM_DIL_LABORWERTE)
toadd_alb

## End(Not run)

maciejrosolowski/progressdatenbankderivate documentation built on Nov. 29, 2024, 3:39 a.m.