Create EML entity with physical section from any DataONE PID

pid_to_eml_entity(mn, pid, entity_type = "otherEntity", ...)

Arguments

mn

(MNode) Member Node where the PID is associated with an object.

pid

(character) The PID of the object to create the sub-tree for.

entity_type

(character) What kind of object to create from the input. One of "dataTable", "spatialRaster", "spatialVector", "storedProcedure", "view", or "otherEntity".

...

(optional) Additional arguments to be passed to eml$entityType()).

Value

(list) The entity object.

Examples

if (FALSE) { # Generate EML otherEntity pid_to_eml_entity(mn, pid, entity_type = "otherEntity", entityName = "Entity Name", entityDescription = "Description about entity") }