Question 1
library(readr)
HR_comma_sep <- read_csv("~/Documents/DATA3210/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, numeric data type
- Last_evaluation: Continuous variable, numeric data type
- Number_project: Discrete variable, numeric data type
- Average_monthly_hours: Continuous variable, numeric data type
- Time_spend_company: Discrete variable ,numeric data type
- Work_accident: Binary variable, numeric data type
- Left: Binary variable, numeric data type
- Promotion_last_5years: Binary variable, numeric data type
- Department: Binary variable , character data type
- Salary: Ordinal variable, character data type