diff --git a/notebooks/_build/.doctrees/analysis.doctree b/notebooks/_build/.doctrees/analysis.doctree index 49be21d..8b7fb9f 100644 Binary files a/notebooks/_build/.doctrees/analysis.doctree and b/notebooks/_build/.doctrees/analysis.doctree differ diff --git a/notebooks/_build/.doctrees/environment.pickle b/notebooks/_build/.doctrees/environment.pickle index dd00b2b..93e4a79 100644 Binary files a/notebooks/_build/.doctrees/environment.pickle and b/notebooks/_build/.doctrees/environment.pickle differ diff --git a/notebooks/_build/html/_sources/analysis.ipynb b/notebooks/_build/html/_sources/analysis.ipynb index 02d70b8..b4dd8e3 100644 --- a/notebooks/_build/html/_sources/analysis.ipynb +++ b/notebooks/_build/html/_sources/analysis.ipynb @@ -63,7 +63,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 25, "metadata": { "tags": [ "remove-input" @@ -149,6 +149,7 @@ } ], "source": [ + "library(tidyverse)\n", "heart_data <- read_csv('../data/processed/heart_data.csv', show_col_types = FALSE)\n", "head(heart_data)" ] diff --git a/notebooks/_build/html/analysis.html b/notebooks/_build/html/analysis.html index 3c6e8f2..4aff518 100644 --- a/notebooks/_build/html/analysis.html +++ b/notebooks/_build/html/analysis.html @@ -381,11 +381,36 @@
ST_dep
and slope
columns as they were missing too many points.
Error in read_csv("../data/processed/heart_data.csv", show_col_types = FALSE): could not find function "read_csv"
-Traceback:
+── Attaching packages ──────────────────────────────────────────────────────────────────────────────────── tidyverse 1.3.2 ──
+✔ ggplot2 3.3.6 ✔ purrr 0.3.5
+✔ tibble 3.1.8 ✔ dplyr 1.0.10
+✔ tidyr 1.2.1 ✔ stringr 1.4.1
+✔ readr 2.1.3 ✔ forcats 0.5.2
+
+── Conflicts ─────────────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
+✖ dplyr::filter() masks stats::filter()
+✖ dplyr::lag() masks stats::lag()
+
+
+
+A tibble: 6 × 21
+
+ place age sex chest_pain rest_bp cholestoral_mmHg fasting_bs rest_ECG max_heart_rate exercise ⋯ thal diagnosis sex_f chest_pain_f fasting_bs_f rest_ECG_f exercise_f major_vessels_f thal_f diagnosis_f
+ <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> ⋯ <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
+
+
+ switzerland 32 1 1 95 0 NA 0 127 0 ⋯ NA 1 1 1 NA 0 0 NA NA 1
+ switzerland 34 1 4 115 0 NA NA 154 0 ⋯ NA 1 1 4 NA NA 0 NA NA 1
+ switzerland 35 1 4 NA 0 NA 0 130 1 ⋯ 7 3 1 4 NA 0 1 NA 7 3
+ switzerland 36 1 4 110 0 NA 0 125 1 ⋯ 6 1 1 4 NA 0 1 NA 6 1
+ switzerland 38 0 4 105 0 NA 0 166 0 ⋯ NA 2 0 4 NA 0 0 NA NA 2
+ switzerland 38 0 4 110 0 0 0 156 0 ⋯ 3 1 0 4 0 0 0 NA 3 1
+
+
+
Table 1. All columns with all data from the four heart disease data sets.