read_data_entity_resource_metadata {EDIutils} | R Documentation |
Read data entity resource metadata
Description
Read data entity resource metadata
Usage
read_data_entity_resource_metadata(
packageId,
entityId,
as = "data.frame",
env = "production"
)
Arguments
packageId |
(character) Data package identifier |
entityId |
(character) Data entity identifier |
as |
(character) Format of the returned object. Can be: "data.frame" or "xml". |
env |
(character) Repository environment. Can be: "production", "staging", or "development". |
Value
(data.frame or xml_document) The resource metadata of
entityId
in packageId
See Also
Other Accessing:
read_data_entity_checksum()
,
read_data_entity_names()
,
read_data_entity_name()
,
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()
,
read_metadata()
Examples
## Not run:
# List entities
entityIds <- list_data_entities(packageId = "knb-lter-cce.310.1")
head(entityIds)
#> [1] "4aaaff61e0d316130be0b445d3013877"
#> [2] "088775341e7fb65206af8c9e67d076e2"
#> [3] "6982dd80cba66470c49a2f3dc0f82459"
#> [4] "782fbaa20ea62987c838378e9eadcfa6"
#> [5] "ae8ecd148df1275b30358577d0fa6b4a"
#> [6] "a53b312efe0a176fdfc74ab7ccb0916b"
# Read resource metadata for first entity
resourceMetadata <- read_data_entity_resource_metadata(
packageId = "knb-lter-cce.310.1",
entityId = entityIds[1]
)
## End(Not run)