Joining performance data
Now that you've looked at hr_data
and performance_data
, it's time to join them. Use the techniques from the video to put all the data you need in one data frame. Once you have the final data frame, check to see whether the average performance rating is higher for men or women.
This exercise is part of the course
HR Analytics: Exploring Employee Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Join the two tables
joined_data <- ___