Get data from study

get_data(study, id = 1)

Arguments

study

A study list object with class scivrs_study

id

The id for the dataset (index or character)

Value

A data frame

Examples


s <- study() %>% add_data("test", data.frame(x = 1:10))
#> x set to dataType int
dat <- get_data(s, "test")