ardflow turns a YAML analysis specification into ARD, formatted TLF outputs, and submission files, with traceability.

A specification

library(ardflow)
spec <- read_spec(system.file("specs", "demographics.yaml", package = "ardflow"))
spec

Compute, render, and write outputs

ard <- compute_ard(spec)        # CDISC Analysis Results Data via {cards}
rnd <- render_ard(ard)          # rtables TableTree + ggplot2 figure
build_outputs(spec, outdir = "outputs")  # RTF + Dataset-JSON 1.1 + HTML + trace

Bring your own data

compute_ard(spec, data = list(adsl = my_adsl, adae = my_adae))