metacatui
metacatui copied to clipboard
Folders in datasets
Add support to the dataset editor for adding folders and organizing files into folders, which uses the prov:atLocation work that Tommy has implemented in Metacat.
I'm creating this issue as an Epic (in Zenhub) since there are many ways this should be supported:
- [x] Design mockups (Issue #1454)
- [x] Show folder structure in
MetadataView(issue #1452) - [ ] Show folder structure in dataset editor (issue #1452)
- [ ] Allow editing of folder structure in dataset editor (issue #1453)
- [x] Use the
DataPackageViewin theMetadataViewto display the package instead of thePackageTableView. Then we only have to add support to a single view. (The DataPackageView has a better design anyway). (issue #1452)
Background
- Some data packages make use of a file system structure to organize and present data objects, but currently in MetacatUI, all data objects can only be displayed and uploaded in a flat structure, like so:
Display view

Editing view

- DataONE resource maps now make use of a
atLocationproperty that indicates the location of files in a data package relative to others. - Metacat supports this feature already, in that when you download a package with
atLocationinformation in the resource map, the folder structure is preserved in the downloaded zip. - We would like the display and editing of packages in MetacatUI to reflect the
atLocationfeature.
Examples
- The published data package doi:10.18739/A2NK36626 includes
atLocationinformation in the resource map (resource_map_doi:10.18739/A2NK36626) - A private data package urn:uuid:028b8008-8b68-491a-8a13-79b642e1e215 with
atLocationinformation in the resource map (resource_map_urn:uuid:028b8008-8b68-491a-8a13-79b642e1e215) - Tommy's repository of test datasets with
atLocationinformation (search foratLocationin the repo)
Resources
- DataONE documentation on filesystem hierarchies
- Discussion in a DataONE API docs PR about
atLocation - Discussion in a metacat issue about
atLocation