write_spice: Write spice

Description Usage Arguments Value Examples

View source: R/write_spice.R

Description

Write out your metadata as a dataspice JSON-LD document

Usage

1
write_spice(path = "data/metadata", ...)

Arguments

path

location of metadata files

...

additional arguments to jsonlite::toJSON()

Value

A JSON-LD file at the path specified

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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 May 17, 2021, 1:09 a.m.