Focusing on the problem location
Because Southfield was the location where the accident increased the most from 2016 to 2017, you should investigate what else changed there. Overworked employees are more likely to make mistakes that lead to accidents, so you can start by comparing average overtime hours worked in each year.
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.
# Filter out the other locations
southfield <- ___