bupaR is an open-source suite for the handling and analysis of business process data in R
developed by the Business Informatics research group at Hasselt University, Belgium. It builds upon the concept of an event log which is a logbook of events which have happened and were recorded within the execution of a business process.
Installation
You can install bupaR from CRAN with:
install.packages("bupaR")
Development Version
You can install the development version of bupaR from GitHub with:
# install.packages("devtools")
devtools::install_github("bupaverse/bupaR")
Example
The bupaR Documentation website contains more details on getting started with Business Process Analysis using bupaR.
library(bupaR)
#>
#> Attaching package: 'bupaR'
#> The following object is masked from 'package:stats':
#>
#> filter
#> The following object is masked from 'package:utils':
#>
#> timestamp
library(eventdataR)
# Get a list of all cases in the patients event log:
patients %>%
cases()
#> # A tibble: 500 × 10
#> patient trace_length number_of_activities start_timestamp
#> <chr> <int> <int> <dttm>
#> 1 1 6 6 2017-01-02 11:41:53
#> 2 10 5 5 2017-01-06 05:58:54
#> 3 100 5 5 2017-04-11 16:34:31
#> 4 101 5 5 2017-04-16 06:38:58
#> 5 102 5 5 2017-04-16 06:38:58
#> # ℹ 495 more rows
#> # ℹ 6 more variables: complete_timestamp <dttm>, trace <chr>, trace_id <dbl>,
#> # duration <drtn>, first_activity <fct>, last_activity <fct>