ExampleS | R Documentation |
Example data set and data dictionary with intentional errors.
data(ExampleS)
R data file
that contains two objects:
Data dictionary
Data set
DS.path <- system.file("extdata", "DS_Example6.txt", package = "dbGaPCheckup", mustWork=TRUE) DS.data.S <- read.table(DS.path, header=TRUE, sep="\t", quote="") DD.path <- system.file("extdata", "DD_Example5b.xlsx", package = "dbGaPCheckup", mustWork=TRUE) DD.dict.S1 <- readxl::read_xlsx(DD.path) DD.dict.S <- reorder_dictionary(DD.dict.S1, DS.data.S) save(DD.dict.S, DS.data.S, file = "ExampleS.rda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.