create_other_entity: Create Other Entity Element

View source: R/other-entity-element.R

create_other_entityR Documentation

Create Other Entity Element

Description

This function creates all the required elements for a otherEntity section of an ELM document. This should be used if data cannot be added using another more structured format.

Usage

create_other_entity(file_name, file_description, file_type, physical)

Arguments

file_name

The name of your entity file

file_description

A short description of your file

file_type

Type of file added as another entity

physical

Physical describtion of object use physical to generate

parent_element

A list to append otherEntity to

Details

Create Other Entity Element

Value

A list that contains all the required elements of the otherEntity section of an EML document.

Examples

## Not run: 
create_other_entity(file_name = "other_entity.zip" ,
                    file_description = "An other entity zip",
                    "physical" = add_physical("other_entity.zip")
                    )

## End(Not run)


CVPIA-OSC/EMLaide documentation built on Aug. 25, 2023, 8:53 a.m.