Learn R Programming

dataspice (version 1.1.1)

write_spice: Write spice

Description

Write out your metadata as a dataspice JSON-LD document

Usage

write_spice(path = file.path("data", "metadata"), ...)

Value

A JSON-LD file at the path specified

Arguments

path

location of metadata files

...

additional arguments to jsonlite::toJSON()

Examples

Run this code
if (FALSE) {
# First create your metadata templates
create_spice()

# Then fill in the template files however you like

# Then write out your dataspice file
write_spice()
}

Run the code above in your browser using DataLab