Skip to main content
Run any Skill in Manus
with one click

sdtm-to-adam

Stars0
Forks0
UpdatedJuly 15, 2026 at 09:04

Generate ADaM datasets from SDTM data using {admiral} R code, DRIVEN BY the ADaM spec (adam-spec.json) produced upstream by tlf-analysis-spec. The derived ADaM MUST satisfy the spec's datasets/parameters/variables/populations and its MANDATORY derivation rules: (1) day-based analysis-visit windowing that never drops unscheduled/early-termination visits, (2) LOCF records (DTYPE='LOCF', ANL01FL='Y') at the endpoint visit, (3) SITEGR1 pooling on RANDOMIZED (ITTFL='Y') counts. Enforces a data-quality gate on analysis-set N and checks conformance with metacore/metatools. Use this skill whenever the user has an adam-spec.json (or reviewed ADaM spec) plus SDTM datasets and wants ADaM datasets. Also trigger on 'ADaM derivation', 'ADaM generation', 'SDTM to ADaM', 'admiral code', 'derive analysis datasets', 'spec-driven ADaM'. Third step in the Protocol->SAP->TLF-plan->analysis/ADaM-spec->ADaM->TLF pipeline.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly