Learn R Programming

ReDaMoR (version 0.8.2)

read_json_data_model: Read a data model from JSON

Description

Read a data model from JSON

Usage

read_json_data_model(txt)

Arguments

txt

a JSON string, URL or file

Examples

Run this code
## 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
)

Run the code above in your browser using DataLab