Description Usage Arguments Value Examples
Build a dataspice site
1 2 3 4 5 | build_site(
path = "data/metadata/dataspice.json",
template_path = system.file("template.html5", package = "dataspice"),
out_path = "docs/index.html"
)
|
path |
(character) Path to a JSON+LD file with dataspice metadata |
template_path |
(character) Optional. Path to a template for
|
out_path |
(character) Optional. Path to write the site's |
Nothing. Creates/overwrites docs/index.html
1 2 3 4 5 6 | ## Not run:
# Create JSON+LD from a set of metadata templates
json <- write_json(biblio, access, attributes, creators)
build_site(json)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.