Questions tagged [bupar]
12 questions
3
votes
0 answers
Subset a bupaR process map based on click on a bar of activity frequency bar graph
I have the shiny app below in which an activity frequency bar is displayed on top and a process bar in the bottom. Is it possible to enable clicking on a bar in the upper bar graph and subset the process map based on that selection in order to…

firmo23
- 7,490
- 2
- 38
- 114
1
vote
1 answer
bupaR function/s interpretation
I'm trying to work out a bit of code someone has given me. If someone could help explain whats going on I'd be grateful.
data %>% process_map(type_nodes = processmapR::frequency("relative_case"),type_edges = processmapR::performance(mean, units =…

steve
- 395
- 2
- 11
1
vote
0 answers
Power BI with animated R visuals
I can output statically generated "png" images from my R code onto Power BI using the "R script visual" function.
Is it possible to output an animated "svg" such as one generated by processanimateR onto my powerbi…

Danny Rancher
- 1,923
- 3
- 24
- 43
1
vote
0 answers
No applicable method for 'rescale' applied to an object of class "difftime"
Using the bupaR package I use the built in dataset patients to create this plot:
library(bupaR)
pat<-bupaR::simple_eventlog(eventlog = patients,
case_id = ".order",
activity_id =…

firmo23
- 7,490
- 2
- 38
- 114
1
vote
1 answer
Customize hoverinfo of ggplotly() in a bupaR:: activity frequency plot
How can you set the hoverinfo of ggplotly() in a activity frequency plot of bupaR to Activity: and Absolute Activity Frequency: ?
## app.R…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
0 answers
Configure layout parameters for process map
I'm using processmapR to plot my log (purchases) as a process map with custom positions for nodes. here is my code:
positions <- data.frame(act = c("node1","node2","node 3","node 4","node 5","node 6",
"node 7","node…

ehsun
- 137
- 9
0
votes
0 answers
bupaR: Error in data.frame Arguments imply different number of rows
I am currently trying to use bupaR to generate some R visuals in power BI for process mining.
Currently I have a dataset with over 120k rows. There are not rows with empty timestamps. The code I am using is the…

Thalles Machado
- 31
- 7
0
votes
0 answers
bupaR changing animation color based on column value
I'm trying to change the color of the animation token based on a column value of the data.
The idea is if we have the first character in the first column value as "n", we have one colour, or "b" its a different color.
This is the code we currently…

steve
- 395
- 2
- 11
0
votes
0 answers
PBI R Script Visual: Error in UseMethod("rename") : no applicable method for 'rename' applied to an object of class "function"
Super R noob here trying to get away with some copy/paste from Google. Any help to eliminate this error is appreciated.
here is my code:
library(bupaR)
library(dplyr)
data %>%
# rename timestamp variables appropriately
dplyr::rename(start =…
0
votes
1 answer
Save activity_log object outputs in a list
I have the code below
library(bupar)
library(daqapo)
hospital<-hospital
hospital %>%
rename(start = start_ts,
complete = complete_ts) -> hospital
hospital %>%
convert_timestamps(c("start","complete"), format = dmy_hms) ->…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
1 answer
Set dots size of dotted_chart() in combination with ggplotly()
Is there a way to reduce the size of the dots created with bupaR::dotted_chart() in combination with ggplotly()
library(bupaR)
library(eventdataR)
library(edeaR)
library(plotly)
ggplotly(dotted_chart(patients))

firmo23
- 7,490
- 2
- 38
- 114
0
votes
1 answer
Extract from,to and value data from object created with bupaR package
I use the bupaR package to create a process map like below
library(bupaR)
patients %>%
process_map(performance(mean, "days"))
perf<-patients %>%
process_map(performance(mean, "days"))
what I would like to do now it to extract the data…

firmo23
- 7,490
- 2
- 38
- 114