Get startedGet started for free

Where did the accident rate increase most?

The location with the highest accident rate is a fine place to start, but to answer the executive's question, it will be more productive to focus on the location where the accident rate increased most from last year. You'll use both a table and a graph in this exercise to answer that question: which location's accident rate had the largest percentage point increase from 2016 to 2017?

This exercise is part of the course

HR Analytics: Exploring Employee Data in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Compare annual accident rates by location
accident_rates <- hr_joined %>%
  ___ %>%
  ___

accident_rates
Edit and Run Code