Examples
Curated demo workflows running on blockr.cloud. Open any example to explore it interactively.
Getting Started
Pharma

Clinical Explorer
AI-enabled exploration of an ADaM trial: demographics, adverse events, lab values, vitals, and patient profile.
Open in Playground →
Admiral SDTM → ADSL
SDTM DM to ADSL derivation pipeline using admiral blocks (blockr.admiral).
Open in Playground →Insurance

Life UWR Workbench
Life-insurance underwriting workbench spanning Inputs, Claims, Underwrite, Analysis, and Actuarial views over an employees census, claims history, and bundled actuarial tables.
Open in Playground →
Actuarial Workbench
Property-insurance actuarial workbench with portfolio inputs, country / base-rate / experience pricing grids, premium components and run-vs-run comparison over the bundled property portfolio.
Open in Playground →
Reinsurance Dashboard
Reinsurance portfolio analytics with scenario / peril / region crossfilter, premium and exposure KPIs, and cedant / peril drill-downs over a synthetic exposure and event-loss cube.
Open in Playground →Finance

Portfolio Advisor
Portfolio optimization with investor profiling and dashboard (blockr.portfolio).
Open in Playground →
Share Explorer
Interactive stock ticker explorer with candlestick charts (blockr.portfolio).
Open in Playground →Statistics

Tidymodels ML
Machine learning workflows powered by tidymodels: preprocessing, model fitting, and evaluation.
Open in Playground →
Stats 101 (Penguins)
Teaching-grade statistical workflow on palmerpenguins: descriptives, correlation, lm, t-test, normality.
Open in Playground →Run an example locally
The demos above run on blockr.cloud. To run one in your own R session, follow the setup below.
Clinical Explorer
First install blockr as described on the Install page. Then add the extra packages:
pak::pak("cynkra/blockr.bi") # drilldown chart/table, KPIs, summary tables
pak::pak("BristolMyersSquibb/blockr.dm") # multi-table / ADaM data-model handling
pak::pak("BristolMyersSquibb/blockr.session") # save, restore, share board state
pak::pak("BristolMyersSquibb/blockr.pharma") # patient profile, swim-lane plotLaunch the demo:
source(system.file("examples/clinical-explorer.R", package = "blockr.pharma"))This loads the ADaM tables from pharmaverseadam and the same blocks as the live demo: cross-filter, drilldown chart and table, patient profile, swim-lane plot. Open inst/examples/clinical-explorer.R on GitHub to see exactly what the script does.
