Delete data/gold/online_gold.sql
Browse files- data/gold/online_gold.sql +0 -33
data/gold/online_gold.sql
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
-- ONLINE: no label column
|
| 2 |
-
CREATE OR REPLACE MACRO gold_online_row(
|
| 3 |
-
age, anaemia, diabetes, high_blood_pressure, smoking, sex,
|
| 4 |
-
creatinine_phosphokinase, ejection_fraction,
|
| 5 |
-
platelets, serum_creatinine, serum_sodium
|
| 6 |
-
) AS TABLE
|
| 7 |
-
SELECT
|
| 8 |
-
age::DOUBLE AS age,
|
| 9 |
-
anaemia::INTEGER AS anaemia,
|
| 10 |
-
diabetes::INTEGER AS diabetes,
|
| 11 |
-
high_blood_pressure::INTEGER AS high_blood_pressure,
|
| 12 |
-
smoking::INTEGER AS smoking,
|
| 13 |
-
sex::INTEGER AS sex,
|
| 14 |
-
creatinine_phosphokinase::INTEGER AS creatinine_phosphokinase,
|
| 15 |
-
ejection_fraction::INTEGER AS ejection_fraction,
|
| 16 |
-
platelets::DOUBLE AS platelets,
|
| 17 |
-
serum_creatinine::DOUBLE AS serum_creatinine,
|
| 18 |
-
serum_sodium::INTEGER AS serum_sodium,
|
| 19 |
-
|
| 20 |
-
ef_deficit(ejection_fraction) AS ef_deficit,
|
| 21 |
-
sodium_dev(serum_sodium) AS sodium_dev,
|
| 22 |
-
hyponatremia(serum_sodium) AS hyponatremia,
|
| 23 |
-
hypernatremia(serum_sodium) AS hypernatremia,
|
| 24 |
-
creatinine_high(serum_creatinine) AS creatinine_high,
|
| 25 |
-
cpk_very_high(creatinine_phosphokinase) AS cpk_very_high,
|
| 26 |
-
thrombocytopenia(platelets) AS thrombocytopenia,
|
| 27 |
-
thrombocytosis(platelets) AS thrombocytosis,
|
| 28 |
-
ef_hfref(ejection_fraction) AS ef_hfref,
|
| 29 |
-
ef_hfmrEF(ejection_fraction) AS ef_hfmrEF,
|
| 30 |
-
ef_hfpef(ejection_fraction) AS ef_hfpef,
|
| 31 |
-
comorbidity_count(anaemia, diabetes, high_blood_pressure, smoking) AS comorbidity_count,
|
| 32 |
-
metabolic_risk(diabetes, high_blood_pressure) AS metabolic_risk,
|
| 33 |
-
anaemia_or_ckd(anaemia, serum_creatinine) AS anaemia_or_ckd;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|