Learn R Programming

tableschema.r (version 1.1.2)

Profile: Profile class

Description

Class to represent JSON Schema profile from Profiles Registry.

Usage

# Profile.load(profile)

Value

Object of R6Class .

Format

R6Class object.

Arguments

profile

string profile name in registry or URL to JSON Schema

Methods

Profile$new(descriptor = descriptor)

Use Profile.load to instantiate Profile class.

validate(descriptor)

Validate a tabular data package descriptor against the Profile.

descriptor Retrieved and dereferenced tabular data package descriptor. (Object) Returns TRUE if descriptor is valid or FALSE with error message.

Properties

name

Returns profile name if available.

jsonschema

Returns profile JSON Schema contents.

See Also