GitHub - amoeba/dataspice-example: example repo for dataspice · GitHub
Skip to content

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

dataspice-example

Example repo to show off dataspice.

library(dataspice)

create_spice() # Creates metadata templates for us
write_spice() # Creates a JSON-LD document from our metadata
build_site() # Creates a web page from our JSON-LD

# Optionally, convert to EML
eml <- spice_to_eml()

# Validation will show errors after conversion because EML is much richer than
# dataspice/Schema.org so some information will be missing and need to be filled
# in after conversion
EML::eml_validate(eml)

About

example repo for dataspice

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors