Question 1

library(readr)
HR_comma_sep <- read_csv("~/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, numeric data type
  • last_evaluation: Continuous , numeric data type
  • number_project: Discrete, integer data type
  • average_monthly_hours: continuous, integer data
  • time_spend_company: discrete, integer data type
  • work_accident: binary, logical data type
  • left: discrete, integer data type
  • promotion_last_5years: binary, logical data type
  • department: discrete, character data type
  • salary: ordinal, character data type