read_metadata | R Documentation |
Read metadata
read_metadata(packageId, env = "production")
packageId |
(character) Data package identifier |
env |
(character) Repository environment. Can be: "production", "staging", or "development". |
(xml_document) EML metadata document.
See the emld library for more on working with EML as a list or JSON-LD. See the xml2 library for working with EML as XML.
## Not run: # Read metadata eml <- read_metadata("edi.100.1") eml #> {xml_document} #> <eml packageId="edi.100.1" system="https://pasta.edirepository.org" ... #> [1] <access authSystem="https://pasta.edirepository.org/authenticatio ... #> [2] <dataset>\n <alternateIdentifier system="https://doi.org">doi:10 ... ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.