| cdisc_spec | R Documentation |
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.
cdisc_adam_datasets
cdisc_adam_variables
cdisc_sdtm_datasets
cdisc_sdtm_variables
cdisc_codelists
Each *_datasets table is a data frame with one row per dataset:
Dataset name ("ADSL" or "DM").
Dataset label.
The CDISC standard, consumed into the spec's
spec_standard().
Each *_variables table is a data frame with one row per variable:
Owning dataset name.
Variable name.
Variable label (from the data's label attribute).
CDISC dataType inferred from the column's class.
Storage length (max byte width for character, 8 for numeric).
Variable order within the dataset.
NCI codelist reference ("C66731" on SEX).
cdisc_codelists is a data frame of controlled-terminology terms (the
real NCI codelist C66731 for SEX):
Codelist identifier ("C66731").
Submission value ("M", "F", ...).
Decoded value ("Male", "Female", ...).
Term order.
Derived from the CDISC pilot .xpt files in the public PHUSE
Test Data Factory (phuse-org/phuse-scripts) by
data-raw/bundle-demo.R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.