blockr.dplyr provides interactive blocks for data transformation. Filter, sort, summarize, join, and manipulate data through visual interfaces.
Installation
install.packages("blockr.dplyr")Or install the development version from GitHub:
# install.packages("pak")
pak::pak("BristolMyersSquibb/blockr.dplyr")Getting Started
Create and launch an empty dashboard:
library(blockr.dplyr)
serve(new_board())This opens a visual interface in your web browser. Add blocks using the “+” button, connect them by dragging, and configure each block through its settings. Data transformations update in real-time as you build your workflow.
Available Blocks
blockr.dplyr provides 16 data transformation blocks:
Filtering
- filter: filter by selecting values from dropdowns (simple, no-code)
- filter expression: keep rows that meet conditions (advanced, R expressions)
Creating & Modifying Columns
- mutate expression: create or modify columns using R expressions
Summarizing
- summarize: calculate statistics using dropdown selections (simple, no-code)
- summarize expression: calculate statistics using R expressions (advanced)
Reshaping
- pivot_longer: reshape data from wide to long format
- pivot_wider: reshape data from long to wide format
- unite: combine multiple columns into one
- separate: split one column into multiple columns
See vignette("blockr-dplyr-showcase") for a complete showcase with screenshots and detailed explanations of each block.
Learn More
The blockr.dplyr website includes full documentation and the showcase vignette. For information on the workflow engine, see blockr.core.