getting-started.Rmdardflow turns a YAML analysis specification into ARD,
formatted TLF outputs, and submission files, with traceability.
library(ardflow)
spec <- read_spec(system.file("specs", "demographics.yaml", package = "ardflow"))
spec
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
compute_ard(spec, data = list(adsl = my_adsl, adae = my_adae))