Profile: Profile class

ProfileR Documentation

Profile class

Description

Class to represent JSON Schema profile from Profiles Registry.

Usage

# Profile.load(profile)

Arguments

profile

string profile name in registry or URL to JSON Schema

Format

R6Class object.

Value

Object of R6Class .

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

Profile Specifications


tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.