DataCamp Human Resources Analytics in R: Exploring Employee Data
Welcome to the course!
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
Welcome to the course! Ben Teusch Human Resources (HR) Analytics - - PowerPoint PPT Presentation
DataCamp Human Resources Analytics in R: Exploring Employee Data HUMAN RESOURCES ANALYTICS IN R : EXPLORING EMPLOYEE DATA Welcome to the course! Ben Teusch Human Resources (HR) Analytics Consultant DataCamp Human Resources Analytics in R:
DataCamp Human Resources Analytics in R: Exploring Employee Data
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
> mean(finance$tenure) [1] 4.81287 > mean(engineering$tenure) [1] 5.78693 > max(engineering$overtime_hours_worked) [1] 188 > sum(finance$sick_days) [1] 372
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
DataCamp Human Resources Analytics in R: Exploring Employee Data
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
> names(recruitment) [1] "attrition" "performance_rating" "sales_quota_pct" [4] "recruiting_source"
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
> library(dplyr) > > recruitment %>% + group_by(recruiting_source) %>% + summarize(highest_performance = max(performance_rating)) %>% + arrange(highest_performance) # 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
> 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
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
DataCamp Human Resources Analytics in R: Exploring Employee Data
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA
DataCamp Human Resources Analytics in R: Exploring Employee Data
> call_center_a %>% + group_by(team) %>% + summarize(avg_calls = mean(calls_made)) %>% + arrange(desc(avg_calls)) 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
> call_center_b %>% + group_by(team) %>% + summarize(avg_calls = mean(calls_made)) %>% + arrange(desc(avg_calls)) 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
> call_center_b_summary 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 > ggplot(call_center_b_summary, aes(x = team, y = avg_calls)) + + geom_col()
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
DataCamp Human Resources Analytics in R: Exploring Employee Data
HUMAN RESOURCES ANALYTICS IN R: EXPLORING EMPLOYEE DATA