feat: initial release of Road Management Insights (RMI) sample queries library#34
Closed
feat: initial release of Road Management Insights (RMI) sample queries library#34
Conversation
henrikvalv3
reviewed
Mar 4, 2026
Comment on lines
+22
to
+23
| ... | ||
| ORDER BY highway_segment_intersections DESC; |
Collaborator
|
Collaborator
Author
|
Good catch! Are you aware of any good link checkers? |
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.
Overview
This PR introduces a comprehensive library of persona-driven SQL samples and interactive notebooks for the Road Management Insights (RMI) BigQuery dataset.
The goal of this library is to provide Google Cloud and Google Maps Platform users with production-ready patterns for traffic analysis, operational monitoring, and
predictive modeling, all optimized for the RMI data model.
Key Features
1. Persona-Driven Analytical Patterns
The library is organized into seven distinct analytical personas, each with a dedicated set of queries and a corresponding interactive notebook:
INFORMATION_SCHEMA).2. Rigorous Data Quality & Optimization
ST_LineStringchecks and length deviation thresholds) are applied across all spatial queries to ensure analysis isperformed on high-integrity geometries.
3. Integrated Documentation
README.mdfeatures a comprehensive Query Catalog, mapping business questions directly to SQL source code.4. Interactive Notebooks
Seven persona-specific Jupyter notebooks are included, pre-configured for one-click import into Google Colab, Colab Enterprise, or BigQuery Studio.
Verification
All queries have been end-to-end verified against the
boston_oct_2025_sample_datareference dataset. Training and evaluation metrics for BigQuery ML models have beenvalidated for accuracy and diurnal consistency.
Directory Structure
/queries: Categorized SQL files (GA and Preview)./notebooks: Persona-specific interactive assets.README.md: Integrated library guide and query catalog.