getData4gluk: get blood glucose data from the table FRM_DIL_LABORWERTE

View source: R/getData4gluk.R

getData4glukR Documentation

get blood glucose data from the table FRM_DIL_LABORWERTE

Description

get blood glucose data from the table FRM_DIL_LABORWERTE

Usage

getData4gluk(FRM_DIL_LABORWERTE)

Arguments

FRM_DIL_LABORWERTE

data.table containing the table FRM_DIL_LABORWERTE from the database of the PROGRESS study

Value

data.table in the wide format. Each row corresponds to one patient and the columns contain blood glucose measurements at a given time.

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)
getData4gluk(FRM_DIL_LABORWERTE)

## End(Not run)

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