BLE-LTER / MetaEgress

R package to create Ecological Metadata Language documents from an instance of LTER-core-metabase database schema
https://BLE-LTER.github.io/MetaEgress/
6 stars 3 forks source link

make call to PASTA/EDI API to generate provenance from packageId #36

Closed atn38 closed 5 years ago

gastil commented 5 years ago

example: GET : https://pasta.lternet.edu/package/provenance/eml/{scope}/{identifier}/{revision}

Here is the pasta api doc page for provenanceGenerator: https://pastaplus-core.readthedocs.io/en/latest/doc_tree/pasta_api/data_package_manager_api.html#provenance

It says " an XML document containing a single methods element in the request message body." but fortunately it actually returns a methodStep tree.

atn38 commented 5 years ago

closing, functionality already folded in, seems to work pretty ok