write_spice: Write spice

View source: R/write_spice.R

write_spiceR Documentation

Write spice

Description

Write out your metadata as a dataspice JSON-LD document

Usage

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

Arguments

path

location of metadata files

...

additional arguments to jsonlite::toJSON()

Value

A JSON-LD file at the path specified

Examples

## Not run: 
# First create your metadata templates
create_spice()

# Then fill in the template files however you like

# Then write out your dataspice file
write_spice()

## End(Not run)

dataspice documentation built on Nov. 5, 2025, 6:52 p.m.