Add material and sampled-feature filters to Interactive Explorer#68
Merged
rdhyee merged 1 commit intoisamplesorg:mainfrom Mar 20, 2026
Merged
Add material and sampled-feature filters to Interactive Explorer#68rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee merged 1 commit intoisamplesorg:mainfrom
Conversation
Built supplemental sample_facets.parquet (25MB, 8.3M rows) from existing narrow+wide parquet — no pipeline rebuild needed. Uploaded to R2. New filters: - Material (19 categories): rock, sediment, organicmaterial, etc. - Sampled Feature (17 categories): earthinterior, Animalia, etc. - Collapsible sections populated from facet_summaries.parquet - Each checkbox shows count (e.g., "rock (1,208,585)") - Filters apply in point mode via JOIN with facets parquet - In cluster mode, note shows "filters apply at sample zoom level" - Also applies to cluster-click nearby samples query Data file: isamples_202601_sample_facets.parquet on R2 - pid | material | context - Built by resolving narrow-format edges to IdentifiedConcept labels Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Adds material and sampled-feature (context) filter checkboxes to the Interactive Explorer, completing P1 faceted filtering.
Approach: Built a supplemental
sample_facets.parquet(25MB) by resolving FK arrays in the narrow format to human-readable concept labels. No pipeline rebuild needed — extracted from existing files in 1 second.New features
facet_summaries.parquetJOINwithsample_facets.parquetNew data file
isamples_202601_sample_facets.parqueton R2 (25.1 MB, 8.3M rows)pid | material | contextTest plan
🤖 Generated with Claude Code