Returns a character vector of dataset names defined in the specification.
See also
Other specification:
apply_spec(),
coerce_types(),
decode_var(),
detect_adam_class(),
detect_adam_classes(),
drop_unspec_vars(),
herald_spec(),
order_cols(),
read_spec(),
read_spec_define(),
scaffold_vars(),
sort_keys(),
spec_codelist(),
spec_study(),
spec_vars(),
write_define_html(),
write_define_xml(),
write_spec()
Examples
spec <- herald_spec(
ds_spec = data.frame(dataset = c("DM", "AE"), label = c("Demographics", "Adverse Events"),
stringsAsFactors = FALSE),
var_spec = data.frame(dataset = c("DM", "AE"), variable = c("STUDYID", "AETERM"),
stringsAsFactors = FALSE)
)
spec_datasets(spec)
#> [1] "DM" "AE"
