Skip to contents

Objects

Relevant objects within datasetjson

dataset_json()
Create a Dataset JSON Object

Setter functions

Setter functions to add attributes

Read, Write, and Validate

Functions to read, write, and validate Dataset JSON, Dataset NDJSON and compressed (DSJC) files

read_dataset_json()
Read a Dataset JSON to datasetjson object
write_dataset_json()
Write out a Dataset JSON file
validate_dataset_json()
Validate a Dataset JSON file
read_dataset_ndjson()
Read a Dataset NDJSON file to a datasetjson object
write_dataset_ndjson()
Write out a Dataset NDJSON file
validate_dataset_ndjson()
Validate a Dataset NDJSON file
read_dataset_dsjc()
Read a Dataset JSON Compressed (DSJC) file to a datasetjson object
write_dataset_dsjc()
Write out a Dataset JSON Compressed (DSJC) file
validate_dataset_dsjc()
Validate a Dataset JSON Compressed (DSJC) file

Helper Functions

Additional helpers

set_variable_attributes()
Assign Dataset JSON attributes to data frame columns
get_column_metadata()
Extract column metadata to data frame
datasetjson_example()
Get path to a datasetjson example file

Data Objects

Data objects stored in the datasetjson package

iris_items
Example Variable Metadata for Iris
schema_1_1_0
Dataset JSON Schema Version 1.1.0
schema_ndjson_1_1_0
Dataset NDJSON Schema Version 1.1.0