Open gothub opened 4 years ago
Yes I think this is a good summary of the issue. It would be nice if the return value was a list that is navigable/selectable.
In arcticdatautils
the list is organized by formatType
So something like summary$metadata$sysmeta
would enable you to examine the sysmeta and extract relevant parts of it quickly. Similarly, summary$data[[1]]$sysmeta
for the first object with formatType == "DATA"
. In this use case, objects without a formatType set are put into something likesummary$unknown
@jeanetteclark please review
A way to easily review the contents of a package is needed, as was pointed out at this meeting with OPC and the NCEAS datateam: https://hpad.dataone.org/IoceU2y9SWaUCuCAjLavcg?edit
In particular, it should be easy to review the system metadata for all package members.
Add a function to generate a summary of system metadata for a package. This might be added to the current DataPackage::show() function or an additional method. Here is a sample of the show() function output: