parse_edi_pid: Get the EDI dataset revision number from an EML document

View source: R/edi.R

parse_edi_pidR Documentation

Get the EDI dataset revision number from an EML document

Description

Any EML document created for the EDI repository should have a packageId field. Parse out the parts of that.

Usage

parse_edi_pid(eml.list, parse = "scope")

Arguments

eml.list

R list of EML-schema-formatted metadata

parse

A string designating which part of the EDI package ID to return ('scope', 'dataset', or 'revision')

Value

The requested portion of the EDI package ID


jornada-im/jerald documentation built on Jan. 29, 2025, 11:15 p.m.