getData4curb: get the CURB65 score from the table DID_CURB65

View source: R/getData4curb.R

getData4curbR Documentation

get the CURB65 score from the table DID_CURB65

Description

get the CURB65 score from the table DID_CURB65

Usage

getData4curb(DID_CURB65)

Arguments

DID_CURB65

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

Value

data.table of DID_CURB65 with -1 replaced by NA and added CRB65 column. 50 available, if more then 50

Examples

## Not run: 
excel_fn <- paste0("/net/ifs1/san_projekte/projekte/",
"PROGRESS/Datenmanagement/Data_freezes/",
"20190320/PROGRESS-freeze_201903_01.xlsx")
DID_CURB65 <- readxl::read_excel(excel_fn, 'DID_CURB65')
data.table::setDT(DID_CURB65)
curb <- getData4curb(DID_CURB65)
curb[]

## End(Not run)

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