getData4sysbp.min: Get information on the minimum of the systolic blood...

View source: R/getData4sysbp.min.R

getData4sysbp.minR Documentation

Get information on the minimum of the systolic blood pressure. The minimization is over EVENT within each PATSTUID.

Description

Get information on the minimum of the systolic blood pressure. The minimization is over EVENT within each PATSTUID.

Usage

getData4sysbp.min(FRM_RR)

Arguments

FRM_RR

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

Value

data.table with the ID of the patient (patstuid), and the information on the maximum of the systolic blood pressure, 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_RR <- readxl::read_excel(excel_fn, 'FRM_RR')
data.table::setDT(FRM_RR)
getData4sysbp.min(FRM_RR)

## End(Not run)

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