Question 1
library(readr)
HR_comma_sep <- read_csv("Data/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.
Question 2
- satisfaction_level: Continuous variable, and numeric data type
- last_evaluation: Continuous variable, and numeric data type
- number_projects: Discrete variable, and integer data type
- average_monthly_hours:Discrete variable, and integer data type
- time_spend_company: Discrete variable, and integer data type
- Work_accident: Binary variable, and logical data type
- Left: Discrete variable, and integer data type
- Promotion_last_5years: Binary variable, and logical data type
- Department: Ordinal variable, and character data type
- salary: Ordinal variable, and character data type