This function takes in authentication info for EDI and an EML file to be evaluated uploaded to EDI.

upload_edi_package(
  user_id,
  password,
  eml_file_path,
  environment = "production",
  package_size = "small"
)

Arguments

user_id

EDI data portal user ID. Create an account an EDI here

password

EDI data portal user password

eml_file_path

The file path to the EML metadata document that you wish to evaluate. (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.)

environment

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"

Value

Message describing if your package was successfully updated or not.

Details

For more information about the validation services see the PASTAplus docs

Examples

if (FALSE) upload_edi_package(user_id = "samuelwright", 
                            eml_file_path = "data/edi20.1.xml")