source("get_SQLite.R")
dataset_wide <-
demos_wide %>%
left_join(historia_wide, by = c("id.demos" = "codi_pacient_id")) %>%
left_join(escala_wide, by = c("id.demos" = "codi_pacient_id"))
#left_join(trauma_wide, by = c("id.demos" = "codi_pacient_id")) %>%
#left_join(exp_trauma_wide, by = c("id.demos" = "codi_pacient_id"))
introduce(dataset_wide)
## # A tibble: 1 × 9
## rows columns discrete_columns continuous_columns all_missing_columns
## <int> <int> <int> <int> <int>
## 1 176 109 19 89 1
## # ℹ 4 more variables: total_missing_values <int>, complete_rows <int>,
## # total_observations <int>, memory_usage <dbl>
plot_intro(dataset_wide)
plot_missing(dataset_wide)
plot_bar((dataset_wide))
## 2 columns ignored with more than 50 categories.
## codi_pacient: 173 categories
## fecha_ingres: 128 categories
plot_histogram(dataset_wide)