Unvalidated constructor. Prefer submission_spec(), which validates. Use this directly only when building a spec programmatically in steps.

new_submission_spec(datasets, variables, study = list())

Arguments

datasets

A data frame with one row per dataset: dataset (name), label (dataset label) and class (e.g. "ADSL", "BDS", "OCCDS", or an SDTM domain class such as "Interventions").

variables

A data frame with one row per variable: dataset (which dataset it belongs to), variable (name), label, type ("character"/"numeric"), length, format (SAS format, NA if none) and order (integer position within the dataset).

study

Optional named list of study-level metadata (e.g. list(study_id = "CDISCPILOT01", sponsor = "Acme")). Free-form; carried through to the manifest and print() output only.

Value

A submission_spec object (not yet validated).