read_metadata {EDIutils} | R Documentation |
Read metadata
Description
Read metadata
Usage
read_metadata(packageId, env = "production")
Arguments
packageId |
(character) Data package identifier |
env |
(character) Repository environment. Can be: "production", "staging", or "development". |
Value
(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.
See Also
Other Accessing:
read_data_entity_checksum()
,
read_data_entity_names()
,
read_data_entity_name()
,
read_data_entity_resource_metadata()
,
read_data_entity_sizes()
,
read_data_entity_size()
,
read_data_entity()
,
read_data_package_archive()
,
read_data_package_citation()
,
read_data_package_doi()
,
read_data_package_error()
,
read_data_package_from_doi()
,
read_data_package_report_checksum()
,
read_data_package_report_resource_metadata()
,
read_data_package_report_summary()
,
read_data_package_report()
,
read_data_package_resource_metadata()
,
read_data_package()
,
read_evaluate_report_summary()
,
read_evaluate_report()
,
read_metadata_checksum()
,
read_metadata_dublin_core()
,
read_metadata_entity()
,
read_metadata_format()
,
read_metadata_resource_metadata()
Examples
## 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)