Skip to contents

A fully synthetic prospective cohort of 1,500 adults enrolled after an emergency-department presentation with suspected acute coronary syndrome (ACS). The data were constructed to demonstrate descriptive, design-aware, diagnostic, regression, survival, sensitivity, and reporting workflows in SimtablR. They do not contain real patient records.

Usage

epitabl

Format

A data frame with 1,500 rows and 22 variables:

participant_id

Unique study participant identifier (ACS0001 to ACS1500).

age

Age at the index presentation, in years.

sex

Sex recorded for clinical assessment (Female, Male).

bmi

Body mass index in kg/m2; contains clinical missing values.

smoking

Smoking status (Never, Former, Current).

hypertension

History of hypertension (No, Yes).

diabetes

History of diabetes (No, Yes).

dyslipidemia

History of dyslipidemia (No, Yes).

cholesterol

Total cholesterol in mg/dL; contains clinical missing values.

presentation_hours

Hours from symptom onset to emergency department presentation.

systolic_bp

Systolic blood pressure at presentation, in mmHg.

renal_impairment

Renal impairment (eGFR below 60 mL/min/1.73 m2; No, Yes).

dialysis

Maintenance dialysis (No, Yes); rare clinical exposure.

adjudicated_acs

Independent reference diagnosis of acute coronary syndrome (No, Yes).

diagnostic_substudy

Enrolled in point-of-care diagnostic substudy (No, Yes).

poc_hstn_value

Point-of-care high-sensitivity troponin in ng/L.

poc_hstn_positive

Binary point-of-care troponin result (Negative, Positive).

length_of_stay

Index hospital length of stay, in days.

ed_visits

Emergency department revisits during 1-year follow-up.

rehospitalized

Hospital readmission during 1-year follow-up (No, Yes).

mace_time_days

Time to MACE or censoring after presentation, in days.

mace_event

Observed major adverse cardiovascular event before censoring (No, Yes).

Source

Synthetic data generated by data-raw/generate-epitabl.R.

Details

ESTROBE-ACS enrolled 1,500 adult participants presenting with chest pain or an ischemic equivalent and undergoing evaluation for suspected ACS.

The primary reference diagnosis is independent clinical adjudication (adjudicated_acs). A point-of-care high-sensitivity troponin substudy (diagnostic_substudy) evaluated continuous troponin concentrations (poc_hstn_value) and binary test positivity (poc_hstn_positive).

In-hospital course and secondary outcomes are captured by hospital length of stay (length_of_stay), 1-year emergency department revisits (ed_visits), and 1-year hospital readmission (rehospitalized).

Survival follow-up covers all 1,500 participants up to 365 days from presentation. Major adverse cardiovascular event (MACE) status is recorded by mace_event with follow-up time in mace_time_days.

Examples

data(epitabl)

table1(
  epitabl,
  c(age, sex, smoking, renal_impairment),
  by = adjudicated_acs
)
#> Characteristic                                          Overall (N=1500)   No (N=928)  Yes (N=572) 
#> --------------------------------------------------------------------------------------------------
#> Age at index presentation (years) [Mean (SD)]                62.0 (13.2)  60.5 (12.8)  64.4 (13.4) 
#> Sex recorded for clinical assessment, n (%)                                                        
#>   Female                                                     686 (45.7%)  446 (48.1%)  240 (42.0%) 
#>   Male                                                       814 (54.3%)  482 (51.9%)  332 (58.0%) 
#> Smoking status, n (%)                                                                              
#>   Never                                                      742 (49.5%)  474 (51.1%)  268 (46.9%) 
#>   Former                                                     469 (31.3%)  302 (32.5%)  167 (29.2%) 
#>   Current                                                    289 (19.3%)  152 (16.4%)  137 (24.0%) 
#> Renal impairment (eGFR below 60 mL/min/1.73 m2), n (%)                                             
#>   No                                                        1184 (78.9%)  741 (79.8%)  443 (77.4%) 
#>   Yes                                                        316 (21.1%)  187 (20.2%)  129 (22.6%) 

diagnostic <- subset(epitabl, diagnostic_substudy == "Yes")
diag_test(
  diagnostic,
  test = poc_hstn_positive,
  ref = adjudicated_acs,
  positive = "Yes"
)
#> Removed 21 observation(s) with missing values (2.3%).
#> Auto-detected test positive level: 'Positive'
#> 
#> ============================================================
#>   DIAGNOSTIC TEST EVALUATION
#> ============================================================
#> 
#>   Sample size      : 899
#>   Confidence level : 95%
#>   CI method        : exact
#> 
#>   Reference standard (gold standard):
#>     Positive = 'Yes'   |   Negative = 'No'
#> 
#>   Diagnostic test:
#>     Positive = 'Positive'   |   Negative = 'Negative'
#> 
#> ------------------------------------------------------------
#>   Confusion Matrix
#> ------------------------------------------------------------
#>           Ref
#> Test       Yes  No
#>   Positive 249  56
#>   Negative  95 499
#> 
#> ============================================================
#>   Performance Metrics  (95% CI)
#> ============================================================
#> Sensitivity           :    72.38%  (67.33% - 77.04%)
#> Specificity           :    89.91%  (87.10% - 92.29%)
#> Pos Pred Value (PPV)  :    81.64%  (76.83% - 85.82%)
#> Neg Pred Value (NPV)  :    84.01%  (80.81% - 86.86%)
#> Accuracy              :    83.20%  (80.60% - 85.59%)
#> Prevalence            :    38.26%  (35.07% - 41.53%)
#> ------------------------------------------------------------
#> Likelihood Ratio +    :      7.17  (5.55 - 9.27)
#> Likelihood Ratio -    :      0.31  (0.26 - 0.37)
#> Youden Index          :      0.62
#> F1 Score              :      0.77
#> Diagnostic Odds Ratio :     23.36  (16.24 - 33.59)
#> Cohen's Kappa         :      0.64  (0.58 - 0.69)
#>