| eml_to_spice | R Documentation |
Create dataspice metadata tables from EML
eml_to_spice(eml, path = NULL)
eml |
(emld) An EML object |
path |
(character) Folder path for saving the tables to disk |
A list with names attributes, access, biblio, and creators.
Optionally, if path is specified, saves the four tables as CSV files.
## Not run:
# First, load up an example EML record
library(EML)
eml_path <- system.file(
file.path("example-dataset", "broodTable_metadata.xml"),
package = "dataspice")
eml <- read_eml(eml_path)
# Generate the four dataspice tables
my_spice <- eml_to_spice(eml)
# Or save them as a file
# Generate the four dataspice tables
eml_to_spice(eml, ".")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.