View source: R/other-entity-element.R
add_other_entity | R Documentation |
Adds the other elements to a dataset list according to EML standards.
add_other_entity(parent_element, other_entity_metadata)
parent_element |
A list representing the EML project or dataset. |
other_entity_metadata |
A named list or dataframe containing other entity metadata elements
(file_name, file_description, file_type, physical): see |
The dataset list or project with other entity file information appended.
other_entity_metadata <- list("file_name" = "other_entity.zip",
"file_description" = "An other entity File",
"physical" = add_physical("other_entity.zip")
)
## Not run:
dataset <- list() %>%
add_other_entity(other_entity_metadata)
dataset
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.