as_eml: Generic function to convert an object to an object which can...

View source: R/as_eml.R

as_emlR Documentation

Generic function to convert an object to an object which can be saved as EML

Description

Generic function to convert an object to an object which can be saved as EML

Usage

as_eml(x, ...)

## Default S3 method:
as_eml(x, ...)

Arguments

x

object to be converted.

...

additional arguments for methods

Value

A list object which can be converted to EML. It can be written to a file using write_eml(). The resulting eml file can be validated using eml_validate().

NB: This does only validate the EML format, and NOT the validation as defined in the scheme definition package!


dmdScheme documentation built on Aug. 22, 2022, 9:06 a.m.