The goal of blockr.ui
is to provide an alternative user interface for blockr.core
. With blockr.ui
you can create, edit and run data analysis pipelines in a user-friendly way with point and click and drag and drop actions. It builds on top of the blockr ecosystem, which provides building blocks from data import to data manipulation and visualisation with R. The code is reproducible and pipelines can be saved and shared with collaborators. Finally, blockr.ui
is designed to be extensible, so you can add your own blocks or add extra modules to it.
Installation
You can install the development version of blockr.ui from GitHub with:
pak::pak("BristolMyersSquibb/blockr.ui")
Example
To run the demo app:
Note
The demo below runs with shinylive. Not all feature may work as expected due to compatibility issues with webR.
App options
There are few options you can customize through setting up environment variables:
-
N_STACKS_COLORS
: how many colors to support in the stack color pickerInput. Default is 40. -
STACKS_COLOR_PALETTE
: the color palette type. Default isspectral
. We usehcl.colors
to setup the palette. -
SNAPSHOT_LOCATION
: The location where to save the snapshots of the blocks. Default istempdir()
. This is used to save the blocks in the browser’s local storage. -
AUTO_SNAPSHOT
: Whether to automatically save the blocks in the browser’s local storage. Default isFALSE
(not stable at the moment).
Development
JS code is managed by esbuild
{charpente}
. To create a new JS file do and compile the entire project:
charpente::create_js("file-name")
charpente::build_js()