Learn R Programming

edeaR

This package provides several useful techniques for Exploratory and Descriptive Analysis of event based data in R.

For more information, check the manual on GitHub or the bupaR Documentation website.

Installation

You can install edeaR from CRAN with:

install.packages("edeaR")

Development Version

You can install the development version of edeaR from GitHub with:

# install.packages("devtools")
devtools::install_github("bupaverse/edeaR")

Example

library(edeaR)
#> 
#> Attaching package: 'edeaR'
#> The following object is masked from 'package:base':
#> 
#>     setdiff
library(eventdataR)
#> Warning: package 'eventdataR' was built under R version 4.2.3

# Calculate idle times per resource:
patients %>%
  idle_time(level = "resource", units = "days")
#> # A tibble: 7 × 2
#>   employee idle_time    
#>   <fct>    <drtn>       
#> 1 r7       464.4199 days
#> 2 r1       450.2124 days
#> 3 r4       442.6260 days
#> 4 r5       430.1764 days
#> 5 r3       429.1064 days
#> 6 r6       425.5362 days
#> 7 r2       214.7436 days

Copy Link

Version

Install

install.packages('edeaR')

Monthly Downloads

877

Version

0.9.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gert Janssenswillen

Last Published

July 9th, 2025

Functions in edeaR (0.9.5)

filter_activity_presence

Filter Activity Presence
change_day

Adjust days in work schedule
filter_precedence_condition

Filter Precedence Relations
activity_presence

Metric: Activity Presence
filter_activity_frequency

Filter Activity Frequency
filter_activity

Filter Activity
activity_frequency

Activity Frequency
filter_infrequent_flows

Filter Infrequent Flows
filter_lifecycle

Filter Life Cycle
add_floating_holiday

Add floating holiday to work schedule
calculate_queuing_length

Calculate queuing length
filter_processing_time

Filter Processing Time
filter_trace_frequency

Filter Trace Frequency
edeaR

edeaR - Exploratory and Descriptive Event-based data Analysis in R
end_activities

End activities
calculate_queuing_times

Calculate queuing times
filter_precedence_resource

Filter Precedence Relations with Identical Resources
filter_trim_lifecycle

Filter Trim Life Cycle
filter_trim

Trim Cases
filter_resource

Filter Resource
filter_trace_length

Filter Trace Length
filter_flow_time

Filter directly follows with time interval
filter_idle_time

Filter Idle Time
number_of_traces

Number of Traces
plot

Plot Methods
print.work_schedule

Print work schedule
processing_time

Processing Time
filter_endpoints

Filter Start and End Activities
filter_lifecycle_presence

Filter Life Cycle Presence
create_work_schedule

Create work schedule
filter_endpoints_condition

Filter Start and End Conditions
filter_precedence

Filter Precedence Relations
redo_repetitions_referral_matrix

Referral matrix repetitons
filter_resource_frequency

Filter Resource Frequency
filter_throughput_time

Filter Throughput Time
trace_length

Trace Length
throughput_time

Throughput Time of Cases
filter_time_period

Filter Time Period
filter_case_condition

Filter Case Condition
filter_case

Filter Case
idle_time

Idle Time
size_of_repetitions

Metric: Size of repetitions
setdiff

Set operations
trace_coverage

Trace Coverage
reexports

Objects exported from other packages
resource_frequency

Resource Frequency
filter_trace

Filter Trace
redo_selfloops_referral_matrix

Referral matrix selfloops
number_of_repetitions

Number of Repetitions
number_of_selfloops

Number of Self-loops
ifilter_activity

ifilter functions
resource_involvement

Resource Involvement
resource_specialisation

Resource Specialisation
size_of_selfloops

Metric: Size of selfloops
start_activities

Start Activities
add_fixed_holiday

Add fixed holiday to work schedule
augment

Augment Log
add_holiday_periods

Add holiday period to work schedule
filter_activity_instance

Filter Activity Instance