View source: R/derive_group_path.R
| derive_group_path | R Documentation |
Extracts a deterministic grouping key from rel_path by combining
the first path components: usually collection/project, optionally module.
derive_group_path(rel_path, repo_root = NULL)
rel_path |
Character vector of relative file paths. |
repo_root |
Optional. Currently unused. |
This function implements a lightweight operational grouping heuristic based on shallow relative path structure.
It is currently used for analytical navigation, summarisation, and exploratory grouping of observed filesystem Instantiations.
The grouping logic reflects practical development and repository layouts rather than authoritative documentary structure.
Future versions of the package are expected to replace or absorb
this functionality into higher-level Record Set construction logic
(for example via record_set_projection()), where grouping rules will
be explicitly contextualised and provenance-aware.
Character vector of grouping keys.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.