Skip to content

Packages ​

blockr is a set of R packages. One line installs the app and the blocks the tutorials use. Packages for a field, such as clinical trials or time series, are separate installs on top of it. All packages are open source, released under GPL-3.0.

Each card links to the package's documentation site where it has one, else to its README on GitHub.

In the one-line install ​

r
pak::pak("BristolMyersSquibb/blockr@dev")
blockr::run_app()

Install has the details.

The app ​

blockr.core

The engine: blocks, boards, reactivity, saving and loading.

Docs site

blockr.dock

The layout: views with tabbed and split panels.

Docs site

blockr.dag

The Workflow canvas: the board as a graph, to add and connect blocks.

Docs site

blockr.session

Save, restore and share boards, with version history.

Docs site

blockr.ui

Inputs, tables and styling shared by all blockr packages.

Docs site

blockr.assistant

A chat panel that adds, connects and configures blocks. Needs an LLM key, see Install.

GitHub

Blocks ​

blockr.io

Read and write CSV, Excel, Parquet, SAS, Stata, SPSS and JSON from a path, a URL or an upload.

Docs site

blockr.dplyr

Select, filter, mutate, summarise, pivot, join and bind, with dplyr and tidyr.

Docs site

blockr.ggplot

ggplot2 charts: scatter, bar, line, histogram, boxplot, facets, themes.

Docs site

blockr.viz

Interactive charts, summary and drilldown tables, KPI tiles, cross-filtering.

GitHub

blockr.dm

Many tables at once: inspect, filter and join related tables, backed by dm.

GitHub

blockr.script

An R script as a block, its plain values as controls. Used in Custom code.

GitHub

Add for your field ​

Install these next to blockr. Their blocks show up in "Add block" once the package is loaded. They change faster than the packages above.

Clinical trials ​

blockr.pharma

Population filters, adverse-event heatmaps, patient profiles.

pak::pak("BristolMyersSquibb/blockr.pharma")

GitHub

blockr.admiral

ADaM derivations on top of admiral.

pak::pak("BristolMyersSquibb/blockr.admiral")

GitHub

Statistics and time series ​

blockr.stats

Models (lm, glm, mixed), model summaries, tests, correlations, survival.

pak::pak("cynkra/blockr.stats")

GitHub

blockr.ts

Transform one series, combine several, pick a few out of many, forecast.

pak::pak("cynkra/blockr.ts")

GitHub

blockr.seasonal

Seasonal adjustment with X-13ARIMA-SEATS.

pak::pak("cynkra/blockr.seasonal")

GitHub

Insurance and finance ​

blockr.insurance

Insurance datasets and example workflows: underwriting, pricing, reinsurance.

pak::pak("cynkra/blockr.insurance")

GitHub

blockr.portfolio prototype

Investor profiles, optimisation, allocation, share prices.

pak::pak("cynkra/blockr.portfolio")

GitHub

Operations and maps ​

blockr.process

Run a process: a definition, an append-only event log and a worker that runs the scripts.

pak::pak("cynkra/blockr.process")

Docs site

blockr.leaflet prototype

Map blocks built on leaflet: markers and routes.

pak::pak("cynkra/blockr.leaflet")

GitHub

More blocks and views ​

General-purpose packages that are not in the one-line install.

blockr.outline

The outline rail, the report builder and the code view of a board.

pak::pak("cynkra/blockr.outline")

GitHub

blockr.page

A board shown as one document: blocks in reading order with text in between, rendered to HTML.

pak::pak("cynkra/blockr.page")

GitHub

blockr.input

Edit data inside a board: pick a row and change it, paste new rows, page through a large table.

pak::pak("cynkra/blockr.input")

GitHub

blockr.ai

Set a block's controls from a sentence, and explain data and outputs.

pak::pak("BristolMyersSquibb/blockr.ai")

GitHub