edi_create_package: Create EDI repository package

View source: R/edi.R

edi_create_packageR Documentation

Create EDI repository package

Description

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

Usage

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

Arguments

eml.path

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

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.