read_json_data_model: Read a data model from JSON

View source: R/json_data_model.R

read_json_data_modelR Documentation

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

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

patzaw/ReDaMoR documentation built on Feb. 23, 2025, 12:54 a.m.