build_from_derived | R Documentation |
This function builds a dataset out of the columns that just need to be pulled
through. So any variable that has a derivation in the format of
'dataset.variable' will be pulled through to create the new dataset. When
there are multiple datasets present, they will be joined by the shared
key_seq
variables. These columns are often called 'Predecessors' in ADaM,
but this is not universal so that is optional to specify.
build_from_derived(
metacore,
ds_list,
dataset_name = deprecated(),
predecessor_only = TRUE,
keep = FALSE
)
dataset
library(metacore)
library(haven)
library(magrittr)
load(metacore_example("pilot_ADaM.rda"))
spec <- metacore %>% select_dataset("ADSL")
ds_list <- list(DM = read_xpt(metatools_example("dm.xpt")))
build_from_derived(spec, ds_list, predecessor_only = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.