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.
Questo esercizio fa parte del corso
HR Analytics: Exploring Employee Data in R
Istruzioni dell'esercizio
- Load the
dplyrandreadrpackages. - Import
"performance_data.csv"and"hr_data.csv"usingread_csv(). Assign them toperformance_dataandhr_data, respectively. - Use
summary()to get an overview of each dataset.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Load the packages
___
___
# Import the data
hr_data <- ___
performance_data <- ___
# Examine the datasets
___
___