schemaRange: Get classes from a JSON-LD schema

View source: R/utils.R

schemaRangeR Documentation

Get classes from a JSON-LD schema

Description

Note: Assumes schematic-generated json-ld file. This looks up defined valid values (range) given the @id as encoded in schema.

Usage

schemaRange(jsonld, id, warn = FALSE)

Arguments

jsonld

URL or path to local json-ld file from which schema will be read.

id

Id (i.e. in @id) for which to get range values.

warn

Whether to warn if there are issues in the schema.


nf-osi/formd documentation built on June 19, 2022, 9:42 a.m.