Get startedGet started for free

Importing headcount and turnover data

Since employee information is confidential, you will be working with data that was artificially generated (keeping the distribution as close as possible to real-world data) for learning purposes.

In this exercise, you will work with the org dataset which contains information for all employees who were working or who left the organization during the year 2014.

This exercise is part of the course

HR Analytics: Predicting Employee Churn in R

View Course

Exercise instructions

  • Load the readr and dplyr packages.
  • Import 'org.csv' using read_csv().
  • Use glimpse() to view the structure of org.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Load the readr and dplyr packages
___
___

# Import the org data
org <- ___

# Check the structure of org dataset, the dplyr way
___
Edit and Run Code