開始使用免費開始

匯入人力與離職資料

由於員工資訊具機密性,你將使用為教學目的而人工產生的資料(分佈盡可能貼近真實情況)。

在這個練習中,你會使用 org 資料集。它包含 2014 年度在職或已離開組織之所有員工的相關資訊。

本練習屬於課程

HR 分析:以 R 預測員工流失

檢視課程

練習說明

  • 載入 readrdplyr 套件。
  • 使用 read_csv() 匯入 'org.csv'
  • glimpse() 檢視 org 的結構。

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Load the readr and dplyr packages
___
___

# Import the org data
org <- ___

# Check the structure of org dataset, the dplyr way
___
編輯並執行程式碼