Skip to content

Conversation

@xrendan
Copy link
Member

@xrendan xrendan commented Jan 31, 2026

Summary

This PR adds Ontario data using the new year-based folder structure:

  • Updates data/provincial/ontario/2024/sankey.json with more detailed FY 2023-24 data
  • Adds data/provincial/ontario/2025/ folder for FY 2024-25 fiscal year data
  • Generates summary.json from sankey ministry totals for the 2025 folder

Supersedes #223 - rebased the Ontario data onto the new provincial/year-based structure.

Test plan

  • Verify Ontario 2024 page loads correctly at /en/provincial/ontario/2024
  • Verify Ontario 2025 page loads correctly at /en/provincial/ontario/2025
  • Check sankey diagrams render properly for both years

🤖 Generated with Claude Code

@build-canada-deploy-bot
Copy link

build-canada-deploy-bot bot commented Jan 31, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
nextjs ✅ Done Preview URL 2026-01-31T23:33:13.397Z

- Update data/provincial/ontario/2024/sankey.json with more detailed data
- Add data/provincial/ontario/2025/ for FY 2024-25 fiscal year data
- Generate summary.json from sankey ministry totals

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@xrendan xrendan force-pushed the pr-223-ontario-update branch from ea00317 to 15c724f Compare January 31, 2026 19:35
- Update Ontario 2025 summary.json with correct debt figures:
  - netDebt: 427.1 (source: Ontario Public Accounts 2024-25)
  - totalDebt: 571.2
  - debtInterest: 15.1
  - Remove totalEmployees (data not available)
- Remove Ontario 2024 departments (data quality issues)
- Make totalEmployees optional in Jurisdiction type
- Conditionally render employee stats only when data exists
- Regenerate static-data.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@xrendan xrendan merged commit 7dcc4cb into main Jan 31, 2026
@xrendan xrendan deleted the pr-223-ontario-update branch January 31, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants