edi_update_package: Update EDI repository package

View source: R/edi.R

edi_update_packageR Documentation

Update EDI repository package

Description

This function takes a path to an EML file (with an EDI package identifier) and updates the package in the given EDI environment (default is 'staging'). The given EML document must be present in the working directory. NOTE that if this isn't working one might need to upload EML and data at portal-s.edirepository.org

Usage

edi_update_package(eml.path, edi.cred, edi.env = "staging")

Arguments

eml.path

Path to an EML document for the EDI data package. Should include scope, packagid, and revision number (e.g. knb-lter-jrn.999.3)

edi.cred

EDI credentials in a list

edi.env

EDI repository environment (staging, production, or development)


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