library(readr)
HR_comma_sep <- read_csv("~/Desktop/HR_comma_sep.csv")
## Rows: 14999 Columns: 10
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (2): Department, salary
## dbl (8): satisfaction_level, last_evaluation, number_project, average_montly...
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
satisfaction_level: continuous variable, and data type is numeric
last_evaluation: continuous variable, and data type is numeric
number_project: discrete variable, and data type is numeric
average_monthly_hours: discrete variable, and data type is numeric
time_spend_company: discrete variable, and data type is numeric
Work_accident: binary variable, data type is numeric
left: binary variable, data type is numeric
promotion_last_5years: binary variable, data type is numeric
department: nominal variable, data type is character
salary: ordinal variable, data type is character