Build a dataspice site
build_site( path = "data/metadata/dataspice.json", template_path = system.file("template.html5", package = "dataspice"), out_path = "docs/index.html" )
(character) Path to a JSON+LD file with dataspice metadata
(character) Optional. Path to a template for whisker.render
whisker.render
(character) Optional. Path to write the site's index.html to. Defaults to docs/index.html.
index.html
docs/index.html
Nothing. Creates/overwrites docs/index.html
# NOT RUN { # Create JSON+LD from a set of metadata templates json <- write_json(biblio, access, attributes, creators) build_site(json) # }
Run the code above in your browser using DataLab