เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Importing the two datasets

To do analytics with HR data, you frequently need to merge or join together data from different data sources. In this chapter, you'll start with some base HR data and join it with performance rating data to allow you to test some hypotheses about performance ratings differences between groups.

Before doing that, take a moment to examine the two datasets you'll be working with for this chapter.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

HR Analytics: Exploring Employee Data in R

ดูคอร์ส

คำแนะนำการฝึกหัด

  • Load the dplyr and readr packages.
  • Import "performance_data.csv" and "hr_data.csv" using read_csv(). Assign them to performance_data and hr_data, respectively.
  • Use summary() to get an overview of each dataset.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Load the packages
___
___

# Import the data
hr_data <- ___
performance_data <- ___

# Examine the datasets
___
___
แก้ไขและรันโค้ด