The constructor-shaped metadata tables for the bundled demo data, split
by CDISC standard because a artoo_spec carries exactly one:
cdisc_adam_datasets + cdisc_adam_variables describe ADSL
(ADaMIG 1.1), and cdisc_sdtm_datasets + cdisc_sdtm_variables
describe DM (SDTMIG 3.1.2). Each variables table is derived from the
data (names, labels, inferred CDISC types, byte lengths) by
data-raw/. Pass one standard's pair to artoo_spec(); passing both
pairs together aborts with artoo_error_spec — mixing standards in
one spec is the mistake the split exists to prevent.
Usage
cdisc_adam_datasets
cdisc_adam_variables
cdisc_sdtm_datasets
cdisc_sdtm_variables
cdisc_codelistsFormat
Each *_datasets table is a data frame with one row per dataset:
- dataset
Dataset name (
"ADSL"or"DM").- label
Dataset label.
- standard
The CDISC standard, consumed into the spec's
spec_standard().
Each *_variables table is a data frame with one row per variable:
- dataset
Owning dataset name.
- variable
Variable name.
- label
Variable label (from the data's
labelattribute).- data_type
CDISC
dataTypeinferred from the column's class.- length
Storage length (max byte width for character, 8 for numeric).
- order
Variable order within the dataset.
- codelist_id
NCI codelist reference (
"C66731"onSEX).
cdisc_codelists is a data frame of controlled-terminology terms (the
real NCI codelist C66731 for SEX):
- codelist_id
Codelist identifier (
"C66731").- term
Submission value (
"M","F", ...).- decode
Decoded value (
"Male","Female", ...).- order
Term order.