ExampleS {dbGaPCheckup}R Documentation

ExampleS

Description

Example data set and data dictionary with intentional errors.

Usage

data(ExampleS)

Format

R data file that contains two objects:

DD.dict.S

Data dictionary

DS.data.S

Data set

Source

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")

[Package dbGaPCheckup version 1.1.0 Index]