sort_by_key | R Documentation |
This function sorts the dataset according to the key sequence found in the metacore object.
sort_by_key(data, metacore, dataset_name = deprecated())
dataset with ordered columns
library(metacore)
library(haven)
library(magrittr)
load(metacore_example("pilot_ADaM.rda"))
spec <- metacore %>% select_dataset("ADSL")
data <- read_xpt(metatools_example("adsl.xpt"))
sort_by_key(data, spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.