getData4gcs: Get the value of the Glasgow Coma Scale

View source: R/getData4gcs.R

getData4gcsR Documentation

Get the value of the Glasgow Coma Scale

Description

Get the value of the Glasgow Coma Scale

Usage

getData4gcs(DID_CLIN)

Arguments

DID_CLIN

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

Value

data.table with the ID of the patient (patstuid), and the information on the Glasgow Coma Scale, 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")
DID_CLIN <- readxl::read_excel(excel_fn, 'DID_CLIN')
data.table::setDT(DID_CLIN)
getData4gcs(DID_CLIN)

## End(Not run)

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