Read data package report
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_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
if (FALSE) { # \dontrun{
# Read as XML
qualityReport <- read_data_package_report("knb-lter-knz.260.4")
qualityReport
#> {xml_document}
#> <qualityReport schemaLocation="eml://ecoinformatics.org/qualityReport ...
#> [1] <creationDate>2020-02-04T16:38:38</creationDate>
#> [2] <packageId>knb-lter-knz.260.4</packageId>
#> [3] <includeSystem>lter</includeSystem>
#> [4] <includeSystem>knb</includeSystem>
#> [5] <datasetReport>\n <qualityCheck qualityType="metadata" system=" ...
#> [6] <entityReport>\n <entityName>GIS600</entityName>\n <qualityChe ...
#> [7] <entityReport>\n <entityName>KMZGIS600</entityName>\n <quality ...
#> [8] <entityReport>\n <entityName>GIS605</entityName>\n <qualityChe ...
#> [9] <entityReport>\n <entityName>KMZGIS605</entityName>\n <quality ...
#> [10] <entityReport>\n <entityName>GIS610</entityName>\n <qualityChe ...
#> ...
# Read as HTML
qualityReport <- read_data_package_report(
packageId = "knb-lter-knz.260.4",
as = "html"
)
qualityReport
#> {html_document}
#> <html>
#> [1] <body><table xmlns:qr="eml://ecoinformatics.org/qualityReport"><t ...
# Read as character
qualityReport <- read_data_package_report(
packageId = "knb-lter-knz.260.4",
as = "char"
)
# writeLines(qualityReport, paste0(tempdir(), "/report.txt"))
} # }