update_edi_package.Rd
This function takes in authentication info for EDI, a package number, and an updated EML file to updated an existing package on EDI.
update_edi_package(
user_id,
password,
existing_package_identifier,
eml_file_path,
environment = "production",
package_size = "medium"
)
EDI data portal user ID. Create an account an EDI here
EDI data portal user password
The current edi number of the package that you are trying to update.(ex: "edi.101.1")
The file path to the EML metadata document that you wish to use to update. (A web link to the csv must be included in the dataset information in the EML in order for a data package to be evaluated.)
EDI portal environment to run command in. Can be: "production" - environment for publishing to EDI , "staging" - environment to test upload and rendering of new environment, "development"
Message describing if your package was successfully updated or not.
if (FALSE) update_edi_package(user_id = "samuelwright",
existing_package_identifier = "edi.740.1",
eml_file_path = "data/edi20.1.xml")