to_jsonld | R Documentation |
Write an instance of a schema-related class in JSON-LD format as a string
to_jsonld(instance)
instance |
An instance of an R6 class |
JSON string in JSON-LD format
dt <- dtreg::load_datatype("https://doi.org/21.T11969/aff130c76e68ead3862e")
instance <- dt$data_item(label = "my_results")
result <- dtreg::to_jsonld(instance)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.