Adds a dataset configuration to the study config.
Arguments
- config
Study configuration list
- dataset_type
Type of dataset (e.g., "Raw_AE")
- enabled
Whether the dataset should be generated
- count_formula
Formula for calculating record count
- growth_pattern
How the dataset grows over time
- dependencies
Dependencies on other datasets
- custom_args
Additional arguments for the dataset generator
Examples
config <- create_study_config("TRIAL001")
config <- add_dataset_config(config, "Raw_AE", enabled = TRUE)
"Raw_AE" %in% names(config$dataset_configs)
#> [1] TRUE