Repository navigation
docs: sentier-inventory organised by source folder, sector as a column - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the sentier-inventory layout change: one folder per published release of one datasource (
data/bafu-2026-v1/),sectoras a column, per-sourcemetadata.json(schema 0.3.0). Follows the three code PRs, which are open and not yet merged:cf54f55)a27910f)3239a4e)Why the change: a delivery from sentier-importers copied its sector file over the existing one, so a second source delivered into a sector folder would have erased the rows there. Sources now never share a file.
Changes
sentier/modules/sentier-inventory/*: layout, datasets, classes, commands, gotchas, status, README and both use cases rewritten for schema 0.3.0;read-a-sector-folder-with-pandasrenamed toread-a-source-folder-with-pandas, links updated. Use cases re-run on 2026-10-12 againstcf54f55.sentier/modules/sentier-brightway/*: loader signatureload_inventory(data_root, source, source_version=None),--source-versionon the CLI,sectornode tag, pincf54f55.sentier/modules/sentier-importers/*: 46 registry sources,bafu-processes/bafu-exchangesblocks with categorybafu-2026-v1,SOURCE_FOLDER, bare sector ids.core/sectors/*andcore/use-cases/*: wiki sectors now map ontosectorcolumn values instead of rank-prefixed folders; crosswalk rewritten.index.md,vocabulary.md(new "Source folder" term, "Sector folder" marked as the pre-0.3.0 layout),sources.md(three PR rows),SPECS.md,sentier/README.md,sentier/commands.md,bafu/README.md,bafu/data/fetch.md.Checks
related:targets; everysources:id and(source: ...)marker resolvesMerge after the three code PRs.