bupaR | Core R package for business process analysis | BPM library
kandi X-RAY | bupaR Summary
kandi X-RAY | bupaR Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bupaR
bupaR Key Features
bupaR Examples and Code Snippets
Community Discussions
Trending Discussions on bupaR
QUESTION
Below is the reproducible code which needs to be pasted in PowerBI R script visualization.
I'm making some customizations to the default process_map object
.
The visual works on my current desktop but gives out error when published to PowerBI Web.
...ANSWER
Answered 2021-Mar-24 at 06:29I ended up re-writing the customisation code so that there's no function
within a function
which is referenced by the error code below
QUESTION
How do I rename the Start
and End
of the process_map()
output below?
For example instead of Start
, rename to Begin
, instead of End
, rename to Stop
.
Thank you
...ANSWER
Answered 2021-Mar-22 at 10:16Not sure if there is a function in the package to directly do this but you can explore the object from process_map
and use string processing to change the value.
QUESTION
I have an event log data. For reproducible example, let's use the data from eventdataR
ANSWER
Answered 2021-Mar-18 at 07:52You can filter
them with dplyr
:
QUESTION
I want to change the color scale based on a hex code color I provide.
For example below the color_scale
argument takes a value based on available color palette from RColorBrewer
library
ANSWER
Answered 2021-Mar-18 at 05:02I just read your question properly - I do not believe there is a way to use a non-RColorBrewer palette with the process_map() function. A potential workaround is to find the source code and create your own function based on the bupaR function to accept other palettes, but as far as I can tell it will only accept RColorBrewer or Viridis palettes at present.
--
Depending on your use case you could use colorRampPalette()
to build your palette from white to #004b88, e.g.
To see "Purples":
QUESTION
My goal is to plot the output, a process map, onto the browser. The output plot continues to appear in the Viewer pane in RStudio.
All of the functionality works as expected and I'm able to call the appropriate data and generate a dynamic output based on the dropdown menu.
Any help would be much appreciated. Full code is below.
...ANSWER
Answered 2021-Jan-15 at 08:39To get output of process_map
in shiny
you have to use GrViz functions from DiagrammeR
.
QUESTION
ANSWER
Answered 2020-Nov-20 at 06:38I can access the attributes as below
QUESTION
I would like to change the color of the plots that bupaR and adjacent packages output. They always use a blue color. So far I have managed to recolor the nodes of a process_map, but I would also like to color the edges and all other plots.
Further, the processmonitR/edeaR package creates dashboards, which I would like to recolor. The colors seem to be hardcoded (see here)
Example output with default colors:
...ANSWER
Answered 2020-Feb-17 at 14:46Use scale_fill = scale_fill_discrete(h = c(0, 310) + 50, l = 50, c = 150)
. Check the documentation for function arguments.
QUESTION
I'm aware that you can combine a combination of edges and nodes from the two as shown here.
However, I'm trying to create something similar that displays both the counts and times on both the edges and nodes if possible like the following at the bottom. With something like this, one wouldn't have to constantly compare the process/performance maps side by side to see which counts match up with which times.
...ANSWER
Answered 2020-Feb-08 at 22:23I just discovered the "sec_nodes" and "sec_edges" arguments which allow you display both a time and count which is good enough, thought I'm not sure if it's possible to display a third type and edge statistic.
QUESTION
I'm building a shiny app that is supposed to show a bupaR
process_map
, which is kind of working.
Sadly the process_map()
-function returns a dgr_graph
-object, which can't be rendered with the DiagrammeR::renderGrViz()
or DiagrammeR::renderDiagrammeR()
functions. I found a way to convert it to a grViz / htmlwidget
-object with render_graph()
, but this way the graph is not nicely scaled. This is especially bad since I'm dealing with very long linear graphs.
Here is a MWE:
...ANSWER
Answered 2019-Nov-18 at 08:33As it turns out the problem is not the render_graph
-function on the Server, but rather the default setting of the renderGrViz
-function in the UI. When you set it to grVizOutput(outputId = "diagram", height = "100%")
it works just fine.
QUESTION
I am able to fill the new row with the values of the previous row. I can assign constants to vars in the new row. But, I cannot calculate values based on previous rows and assign them in the new row.
BackgroundI have real data from a PLC, that I prepare for conversion to an eventlog for use with bupaR
.
The data below are limited and simplified but contain information concerning resource, timestamp, state-type, and event_ID.
- I added Error_ID, Error_startTS, Error_EndTS, and part of the Life-cycle, as was documented in another SO question
- An Error is defined as any series of events that starts with the state_type=="error", until an event is encountered that is anything but "Error", "Comlink Down", "Not Active".
- an error number was assigned to all rows of the same "error-trace" ("Error_ID")
- the start time of the error (timestamp of 1st error row) was assigned ("Error_startTS")
- the end time of the error,, the timestamp of the 1st row after the error, in other words the timestamp of the event that ends the error was assigned ("Error_endTS")
- a "Life_cycle_ID" was assigned to the rows of the error, either "Start" or "Ongoing".
Now, I want to insert a new row
- with Life_cycle_id == "Complete"
- after the last row of "ongoing" of each "error-trace"
Details
- Solvable with
fill()
: copy from last row- "Resource"
- "Error_ID",
- "Error_startTS",
- "Error_endTS"
- Solvable with
add.row()
: assign a constant- "Lifecycle_ID" should be "Complete"
- "State_type" should be "Error"
- Problematic for me: assign values base on values of the previous rows
- The time-stamp "Datetime_local" should get the value of "Error_endTS" in the group
- the "event_ID" should be increased by 1
ANSWER
Answered 2019-Jan-27 at 16:39Here's an idea
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bupaR
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page