-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.Rmd
75 lines (56 loc) · 2.34 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
output: github_document
always_allow_html: true
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
options(tibble.print_min = 5, tibble.print_max = 5)
```
# processmapR <a href="https://bupaverse.github.io/processmapR/"><img src="man/figures/logo.png" align="right" height="50" /></a>
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/processmapR)](https://CRAN.R-project.org/package=processmapR)
[![GitHub version](https://img.shields.io/badge/GitHub-0.5.4-blue)](https://github.com/bupaverse/processmapR)
[![R-CMD-check](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bupaverse/processmapR/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/bupaverse/processmapR/branch/master/graph/badge.svg)](https://app.codecov.io/gh/bupaverse/processmapR?branch=master)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
<!-- badges: end -->
**processmapR** is a [`R`](https://www.r-project.org/) package for creating process maps. Part of the [bupaR](https://bupar.net/) eco-system for business process analysis.
## Installation
You can install **processmapR** from [CRAN](https://cran.r-project.org/) with:
```{r cran-installation, eval = FALSE}
install.packages("processmapR")
```
### Development Version
You can install the development version of **processmapR** from [GitHub](https://github.com/) with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("bupaverse/processmapR")
```
## Example
The [bupaR Documentation](https://bupaverse.github.io/docs/) website contains more details on creating process maps using **processmapR**.
```{r example1, results = "hide"}
library(processmapR)
library(bupaR)
# Process map
patients %>%
process_map()
```
```{r echo = FALSE, eval = F}
patients %>%
process_map() %>%
DiagrammeRsvg::export_svg() %>%
charToRaw() %>%
rsvg::rsvg_png("man/figures/README-example1-1.png")
```
![process map](man/figures/README-example1-1.png)
```{r example2}
# Dotted chart
patients %>%
dotted_chart(x = "absolute", sort = "start")
```