emld (version 0.5.1)

template: Create a template for an EML object

Description

Create a template for an EML object

Usage

template(object)

Arguments

object

the name of an eml object to create

Value

a list with elements named according to the properties of the object. This can be coerced into EML, see vignettes. NULL-valued elements (~) can take a data entry directly, while empty list()-valued elements () indicate properties that take other eml objects as values.

Details

Note: while this function can be called in recursions, doing so may be a bad idea.

Examples

Run this code
# NOT RUN {
template("creator")
# }

Run the code above in your browser using DataCamp Workspace