View source: R/json_data_model.R
read_json_data_model | R Documentation |
Read a data model from JSON
read_json_data_model(txt)
txt |
a JSON string, URL or file |
## Read the model ----
hpo_model <- read_json_data_model(
system.file("examples/HPO-model.json", package="ReDaMoR")
)
## Confront to data ----
confrontation_report <- confront_data(
hpo_model,
path=list.files(
system.file("examples/HPO-subset", package="ReDaMoR"),
full.names=TRUE
),
returnData=TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.