Chapter 1
Chapter 1
Chapter 1
Ben Teusch
Human Resources (HR) Analytics Consultant
DataCamp Human Resources Analytics in R: Exploring Employee Data
Introduction to HR analytics
also known as people analytics, workforce analytics, or talent analytics
a data-driven approach to managing people at work
DataCamp Human Resources Analytics in R: Exploring Employee Data
> max(engineering$overtime_hours_worked)
[1] 188
> sum(finance$sick_days)
[1] 372
DataCamp Human Resources Analytics in R: Exploring Employee Data
Course Overview
Let's practice!
DataCamp Human Resources Analytics in R: Exploring Employee Data
Ben Teusch
HR Analytics Consultant
DataCamp Human Resources Analytics in R: Exploring Employee Data
Quality of hire
What makes one hire better than another?
retention, or how long the employee stays
their manager's satisfaction with the hire
job performance
the amount of time it takes to become fully productive
> names(recruitment)
[1] "attrition" "performance_rating" "sales_quota_pct"
[4] "recruiting_source"
DataCamp Human Resources Analytics in R: Exploring Employee Data
attrition rate:
attrition
headcount
If attrition = 1 when the employee left, this can be rewritten as:
mean(attrition)
DataCamp Human Resources Analytics in R: Exploring Employee Data
# A tibble: 4 x 2
recruiting_source highest_performance
<chr> <dbl>
1 Search Firm 3
2 Referral 4
3 Applied Online 5
4 Campus 5
DataCamp Human Resources Analytics in R: Exploring Employee Data
New Tools
> recruitment %>%
+ count(recruiting_source)
# A tibble: 4 x 2
recruiting_source n
<chr> <int>
1 Applied Online 130
2 Campus 56
3 Referral 45
4 Search Firm 10
DataCamp Human Resources Analytics in R: Exploring Employee Data
Let's practice!
DataCamp Human Resources Analytics in R: Exploring Employee Data
Ben Teusch
HR Analytics Consultant
DataCamp Human Resources Analytics in R: Exploring Employee Data
team avg_calls
<chr> <dbl>
1 D 84.21283
2 B 79.65947
3 A 73.80612
4 C 61.73712
DataCamp Human Resources Analytics in R: Exploring Employee Data
team avg_calls
<fctr> <dbl>
1 J 98.16318
2 U 89.64824
3 M 84.90123
4 L 82.90802
5 D 82.62958
6 E 82.08344
7 C 80.46505
8 K 79.91899
9 F 77.28148
10 R 75.66100
# ... with 16 more rows
DataCamp Human Resources Analytics in R: Exploring Employee Data
team avg_calls
<fctr> <dbl>
1 J 98.16318
2 U 89.64824
3 M 84.90123
4 L 82.90802
5 D 82.62958
6 E 82.08344
7 C 80.46505
8 K 79.91899
9 F 77.28148
10 R 75.66100
# ... with 16 more rows
Let's practice!