# NOT RUN {
# Load an example dataspice JSON that comes installed with the package
spice <- system.file(
"examples", "annual-escapement.json",
package = "dataspice")
# And crosswalk it to EML
spice_to_eml(spice)
# We can also create dataspice metadata from scratch and crosswalk it to EML
myspice <- list(
name = "My example spice",
creator = "Me",
contact = "Me")
spice_to_eml(myspice)
# }
Run the code above in your browser using DataLab