write_sysmeta: write_sysmeta

Description Usage Arguments Value

Description

Generate minimal system metadata XML file

Usage

1
2
write_sysmeta(file, uid, id = c("create", "extract"), formatId = "guess",
  affiliation = "unaffiliated", metafile = "sysmeta.xml")

Arguments

file

the path/name of the file to generate metadata for.

uid

your user identifier as registered at cilogon.org

id

how to obtain the identifier. If "create", will attempt to make an identifier with uuid. "extract" will attempt to extract EML packageID identifiers. Otherwise, just provide the identifier here.

formatId

if "guess", will base a guess on the file extension, otherwise specify format here

affiliation

affiliation as registered at http://cilogon.org certificate

metafile

the name of the output minimal system metadata file (NULL returns output to console)

Value

an XML object containing the dataone minimal system metadata, see schema definition for details (in xsd directory)


cboettig/dataone-lite documentation built on May 13, 2019, 2:06 p.m.