Demo input datasets, input data dictionaries, DataSchema, Data Processing Elements, and other objects to provide illustrative examples of objects used by Rmonize.
Rmonize_DEMO
list
A list with 13 elements (data frames and lists) providing example objects for testing the package:
Example Data Processing Elements
Example Data Processing Elements containing errors
Example incomplete Data processing Element
Example DataSchema
Example pooled harmonized dataset
Example of harmonized dossier
Example harmonized variables summary
Example Data dictionary for Melbourne dataset
Example Data dictionary for Paris dataset
Example Data dictionary for Tokyo dataset
Example Dataset for Melbourne
Example Dataset for Paris
Example Dataset for Tokyo
{
# use madshapR_DEMO provided by the package
library(dplyr)
glimpse(Rmonize_DEMO$`dataschema - final`)
}
#> List of 2
#> $ Variables : tibble [13 × 4] (S3: tbl_df/tbl/data.frame)
#> ..$ index : num [1:13] 1 2 3 4 5 6 7 8 9 10 ...
#> ..$ name : chr [1:13] "adm_unique_id" "adm_study" "adm_year_dce" "sdc_age" ...
#> ..$ label:en : chr [1:13] "Unique identification code of the participant." "Indicator of the survey study." "Indicator of the survey data collection event." "Participant's age at time of data collection event." ...
#> ..$ valueType: chr [1:13] "text" "text" "text" "integer" ...
#> $ Categories: tibble [16 × 4] (S3: tbl_df/tbl/data.frame)
#> ..$ variable: chr [1:16] "adm_study" "adm_study" "adm_study" "sdc_sex" ...
#> ..$ label:en: chr [1:16] "MELBOURNE" "PARIS" "TOKYO" "Male" ...
#> ..$ name : chr [1:16] "MELBOURNE" "PARIS" "TOKYO" "1" ...
#> ..$ missing : num [1:16] 0 0 0 0 0 0 0 0 0 0 ...