Disapprovals are disapprovals
In order to lower the number of different activities in analysis of the recruitment process, some of them can be combined.
- Disapprove Offer, Disapprove Revision -> Disapprove Contract Offer
- Approve Offer, Approve Revision -> Approve Contract Offer
- Construct Offer, Revise Offer -> Construct Contract Offer
Let's see how this changes the dimensions of the event log.
This exercise is part of the course
Business Process Analytics in R
Exercise instructions
- Count the number of activities and the number of activity instances in
vacancies
using the suite ofn_()
functions. - Use the appropriate preprocessing function to combine the activities mentioned above, and store the result in
united_vacancies
. - Count the number of activities and the number of activity instances in
united_vacancies
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Count activities
___
# Count activity instances
___
# Combine activities
united_vacancies <- vacancies %>%
___(
"Disapprove Contract Offer" = c("Disapprove Offer", "Disapprove Revision"),
___ = c("Approve Offer","Approve Revision"),
___
)
# Count activities on united data
___
# Count activity instances on united data
___