Tidy Flowchart Generator

Creates participant flow diagrams directly from a dataframe. Representing the flow of participants through each stage of a study, especially in clinical trials, is essential to assess the generalisability and validity of the results. This package provides a set of functions that can be combined with a pipe operator to create all kinds of flowcharts from a data frame in an easy way.


flowchart flowchart website

CRAN status    R-CMD-check    Codecov test coverage    DOI: 10.5334/jors.649

Tidy Flowchart Generator

flowchart is an R package for drawing participant flow diagrams directly from a dataframe using tidyverse. It provides a set of functions that can be combined with a pipe operator to create all kinds of flowcharts from a dataframe in an easy way.

You can see the package in action in: https://bruigtp.github.io/flowchart/

How to install it?

The package is available on CRAN: https://cran.r-project.org/web/packages/flowchart/index.html.

install.packages("flowchart")

We can download the development version from the github repository:

# install.packages("remotes")
remotes::install_github('bruigtp/flowchart')

How it works?

The following GIF provides an example of the tidy process of drawing a flowchart for a clinical trial:

animated

About

Package: flowchart

Type: Package

Version: 1.0.0 (CRAN)

Authors: Pau Satorra, João Carmezim, Natàlia Pallarès, Cristian Tebé, Kenneth A. Taylor.

Maintainer: Pau Satorra

License: GPL (>= 3)

Encoding: UTF-8

Depends: R (>= 4.1.0)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("flowchart")

1.0.1 by Pau Satorra, 4 months ago


https://bruigtp.github.io/flowchart/, https://doi.org/10.5334/jors.649


Report a bug at https://github.com/bruigtp/flowchart/issues


Browse source code at https://github.com/cran/flowchart


Authors: Pau Satorra [aut, cre] , João Carmezim [aut] , Natàlia Pallarès [aut] , Cristian Tebé [aut] , Kenneth Taylor [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Gmisc, grid, tidyr, dplyr, purrr, stringr, tibble, tidyselect, rlang, grDevices, cli

Suggests knitr, ragg, rmarkdown, testthat, withr


See at CRAN