map-charts-to-mdim - Propose redirects from charts to MDIM views
Selects published charts, matches them to MDIM views by indicator IDs, and writes redirect proposals and reference audits without creating redirects.
Tags
Updated: 2026-11-27Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Select charts by tag
- Select charts by slug
- Select charts by dataset
- Discover published MDIMs
- Match charts to views
- Generate proposal artifacts
- Audit chart references
- Report unmatched charts
- Validate redirect inputs
Inputs
- Chart tag
- Chart slugs
- Dataset ID
- MDIM catalog paths
- Grapher database environment
- Database credentials file
- Output directory
- Optional site host
Outputs
- Chart selection CSV
- MDIM views CSV
- Mapping proposal CSV
- Mapping JSON
- Per-chart payload JSON files
- CLI redirect CSV
- Migration log template CSV
- Unmatched report
- MDIM suggestions report
- CLI handoff note
- Run sources JSON
- Reference audit results
Requirements
- OWID grapher database access
- Read-only database permission
- Staging or production environment configuration
- Python virtual environment
- Published charts and MDIM data
- Human-run redirect CLI for application
