1. Learn
  2. /
  3. Courses
  4. /
  5. HR Analytics: Exploring Employee Data in R

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Use left_join() to add the performance data to the HR data. Use employee_id as the key. Assign the result to joined_data.