Package: mighty 0.0.0.9038

Matthew Phelps

mighty: ADaM Program Generation Through Declarative Specifications

Provides tools for generating ADaM programs in clinical trials using a declarative approach. Users specify what data structure and derivations they need through YAML-based specifications, rather than writing imperative code. The package handles dependency tracking between columns and rows, orchestrates code components, and automatically generates executable R programs for ADaM dataset creation.

Authors:Matthew Phelps [aut, cre], Nicolai Skov Johnsen [aut], Aksel Thomsen [aut], Michael Hedegaard Thomsen [aut]

mighty_0.0.0.9038.tar.gz
mighty_0.0.0.9038.zip(r-4.7-any)mighty_0.0.0.9038.zip(r-4.6-any)mighty_0.0.0.9038.zip(r-4.5-any)
mighty_0.0.0.9038.tgz(r-4.6-any)mighty_0.0.0.9038.tgz(r-4.5-any)
mighty_0.0.0.9038.tar.gz(r-4.7-any)mighty_0.0.0.9038.tar.gz(r-4.6-any)
mighty_0.0.0.9038.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
mighty/json (API)

# Install 'mighty' in R:
install.packages('mighty', repos = c('https://novonordisk-opensource.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/novonordisk-opensource/mighty/issues

Pkgdown/docs site:https://novonordisk-opensource.github.io

On CRAN:

Conda:

quarto

5.95 score 2 stars 3 scripts 2 exports 65 dependencies

Last updated from:b19cd07ac9. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR248
source / vignettesOK227
linux-releaseERROR249
macos-releaseERROR338
macos-oldrelERROR280
windows-develERROR230
windows-releaseERROR184
windows-oldrelERROR247
wasm-releaseOK134

Exports:generate_adam_codewrite_adam_programs

Dependencies:assertthatbackportsbase64encbslibcachemcheckmateclicpp11curldata.tabledigestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetsigraphjquerylibjsonliteknitrlatticelifecyclemagrittrMatrixmemoisemighty.componentmighty.metadatamimepillarpkgconfigpurrrR.cacheR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcpprlangrmarkdownrprojrootS7S7schemasassstylertibbletidyselecttinytexutf8V8vctrsvisNetworkwhiskerwithrxfunxml2xmlparsedatayamlzephyr

adam_specification
Overview | General structure | Domain identifier | Required Field | Example | Primary keys | Label | Class | Common values | Structure | Population | Filter execution order | Base domains | Domain-specific filtering | Global filters | Using external domains in global filters | Simple example | Complex example | Key Points | Columns | Fields | The method field | Component object | Examples | Simple column operations | Derived columns | Examples (continued): | Summary of column rules | Component reuse rules | One component, multiple output columns | Same component, different parameters | Overlapping outputs cause an error | Cross-domain reuse | No intermediate columns | Row operations | Parameters | Row vs. parameter operations

Last update: 2026-10-13
Started: 2025-12-18

Code Components
Overview | Component types | Component Structure | Metadata Header | Metadata Tags | @title | @description | @param | @type | @origin | @method | @depends | @outputs | @code | R Script Components | When to Use | Code Structure | Example: Simple Column Derivation | Example: Dependent Derivation | Example: Multiple Dependencies | Mustache Template Components | Template Syntax | Example: Parameterized Column Derivation | Example: Reusing Templates with Different Parameters | Handling external dependencies | Standard vs. custom components | How mighty finds a component | In-built components

Last update: 2026-10-12
Started: 2025-06-12

Framework configuration (_mighty.yml)
Overview | External data | Example: | Component repositories | Component IDs

Last update: 2026-10-12
Started: 2026-04-22

Get Started
Your first mighty ADaM program | Study directory guidelines | Set up your framework configuration file | Set up your ADaM specification | Define your custom component | Render the ADaM program

Last update: 2026-10-12
Started: 2025-06-12

Special components
Three stages of code generation | Template syntax | The keep_vars pipeline | mighty_read_data | Example | Parameters | connector_path_expr | domains | How data_type is determined | When is_current_domain is TRUE | mighty_init_domain | self | keep_vars | source_domain_rbind | src_mutations | mighty_filter_domain | joins | domain_filter | global_filter | mighty_col_mutate | rename_var | source_var | mighty_col_rename | mighty_col_echo | join_dataset | select_expr | by_vars | needs_rename | output_var / var_to_add | mighty_write_data | file_ext | row_order_vars

Last update: 2026-10-12
Started: 2026-05-28

dev_documentation
Types of nodes

Last update: 2026-09-01
Started: 2025-06-12

Missing Data Analysis
Overview | Types of missing data | Workflow

Last update: 2026-08-19
Started: 2025-12-18

Inputs Overview
Overview | Framework configuration (_mighty.yml) | ADaM Specification | Code Components | Study properties (_study.yml) | Data Model Metadata (optional)

Last update: 2026-04-22
Started: 2025-12-18

connect_to_data

Last update: 2026-04-08
Started: 2025-06-17