Learn R Programming

mrap (version 1.0.1)

to_jsonld: Write an instance in JSON-LD format

Description

This function is imported from dtreg for ease-of-use

Usage

to_jsonld(instance)

Value

JSON string in JSON-LD format

Arguments

instance

An instance of an R6 class

Examples

Run this code
res <- data.frame(mean = 3.758)
inst_ds <- descriptive_statistics(
"base::mean(iris$Petal.Length)",
iris,
res
)
json <- to_jsonld(inst_ds)

Run the code above in your browser using DataLab