Question 1
library(readr)
HR_comma_sep <- read_csv("C:/Users/marty/Downloads/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_project:
discrete variable and integer data type
- average monthly hours: discrete variable and integer data type
- time spent company: discrete variable, integer data type
- work_accident: binary variable, logical data type
- left: binary variable, logical data type
- promotion last 5 years: binary variable, logical data type
- department: Nominal variable, character data type
- salary: ordinal variable, character data type