annotate_element | R Documentation |
This is a helper function for annotate_eml()
.
annotate_element(element, eml, anno, rp)
element |
(character) Element to be annotated |
eml |
(emld list) EML to be annotated |
anno |
(data.frame) The annotations.txt template |
rp |
(data.frame) The responsibleParty table |
Match annotatable elements (subjects) to their annotations listed in the annotations.txt template. Target EML sub-trees where the subjects occur, extract their values and, when not unique, their context, then use these as keys to annotations.txt from which IDs and predicate + object annotations are retrieved and assigned to the EML. Annotatable elements only supported through ID references are added to /eml/dataset/annotations (e.g. ResponsibleParty).
eml |
emld list object being annotated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.