Converts a mighty_study or mighty_domain object into a flat dataframe of table (dataset) definitions.
Arguments
- x
A mighty_study or mighty_domain object.
Value
A tibble with one row per table containing:
- order
Table order within the study,
NAfor a single domain- id
Table identifier
- label
Table label/description
- class
CDISC class of the dataset
- subclass
CDISC subclass of the dataset
- structure
Description of the structure of the dataset
- keys
List column of key variables
- comment
Comment
Examples
study <- mighty_study(
path = system.file("examples", package = "mighty.metadata")
)
#> → No `_documents.yml` file found
create_md_table(study)
#> # A tibble: 3 × 8
#> order id label class subclass structure keys comment
#> <int> <chr> <chr> <chr> <chr> <chr> <lis> <chr>
#> 1 1 ADAE Adverse Events Analysis Da… OCCU… ADVERSE… One reco… <chr> NA
#> 2 2 ADSL Subject-Level Analysis Dat… SUBJ… NA One reco… <chr> NA
#> 3 3 ADVS Vital Signs Analysis Datas… BASI… NA One reco… <chr> NA
