write_cap_eml: write eml to file

View source: R/write_cap_eml.R

write_cap_emlR Documentation

write eml to file

Description

A wrapper around EML::write_eml that automates file naming from projet configuration

Usage

write_cap_eml(
      emlEntity,
      filePathName
    )

Arguments

emlEntity

(unquoted character) Unquoted name of the eml entity (from 'create_eml') to be written to file. Defaults to 'eml'.

filePathName

(character) Path and file name of file to be written. Defaults to the package identifier and current directory.

Details

Any existing xml files named with packageScopeNumber at path will be overwritten.

Value

Writes eml object as specified name and to specified location in xml format.

Examples

## Not run: 

write_cap_eml(
  emlEntity = myeml,
  filePathName = "~/Desktop/myeml.xml"
)

write_cap_eml()


## End(Not run)


CAPLTER/capeml documentation built on April 3, 2024, 11:17 p.m.