powered by
Checks that a round-trip of expanding and compacting json-ld matches the original document. Incorrect schema terms or types (or spelling errors of properties) will cause this round-trip to fail by not fully compacting.
codemeta_validate(codemeta = "codemeta.json", context = NULL)
path/filename to a codemeta.json file, or json-ld text string
URL (or path or json string) for the codemeta context. Leave as default or use appropriate DOI for the version; see details.
by default, validation will use the original context from the import file.
# NOT RUN { ex <- system.file("examples/codemeta.json", package="codemetar") codemeta_validate(ex) # }
Run the code above in your browser using DataLab