template: Create a template for an EML object

Description Usage Arguments Details Value Examples

View source: R/template.R

Description

Create a template for an EML object

Usage

1
template(object)

Arguments

object

the name of an eml object to create

Details

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

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.

Examples

1
template("creator")

cboettig/emljson documentation built on Oct. 27, 2020, 1:27 a.m.