Profile | R Documentation |
Class to represent a JSON Schema profile from the Profiles Registry.
# Profile$load(profile)
profile |
String: the name of a profile from the registry or a URL pointing to a JSON Schema. |
R6Class
object.
Object of class R6Class
.
Profile$new(descriptor = descriptor)
Use Profile$load
to instantiate a Profile
class.
validate(descriptor)
Validate a tabular data package descriptor against the Profile
.
descriptor
The dereferenced tabular data package descriptor to validate.
Returns TRUE
if the descriptor is valid; otherwise returns FALSE
with an error message.
name
Returns the profile name, if available.
jsonschema
Returns the contents of the profile's JSON Schema.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.