schema: schema

Description Usage Arguments Value Examples

Description

schema utility functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

schema

imported json schema

type

schema reference

Value

list

Examples

1
2
3
schema_file <- Sys.glob(file.path(system.file("schema/vega-lite", package = "vegawidget"),"*.json"))
VL_SCHEMA <- jsonlite::read_json(schema_file)
encoding_options <- props(VL_SCHEMA, list("$ref" = "#/definitions/Encoding"))

AliciaSchep/vlmetabuildr documentation built on Jan. 8, 2020, 7:30 a.m.