- 1
Sources, all retrieved 2026-10-10. Ontario MECP Greenhouse Gas Emissions Reporting By Facility, 2010 to 2024 (Reg 390/18): 4,231 rows, 480 unique facility IDs, 420 reporting in 2024, downloaded from files.ontario.ca under the Ontario Open Government Licence. Federal GHGRP Emissions by Gas, 2004 to 2024 (ECCC): 20,685 rows nationally, 4,606 for Ontario, 491 unique Ontario facility IDs, 418 reporting in 2024, fetched through the open.canada.ca catalogue API because the old static URL now returns the catalogue app shell. EWRB large buildings, 2018 to 2024, Ontario Ministry of Energy and Mines: 30,693 rows, 9,250 buildings, English files only.
- 2
Anchor matching: names are uppercased, accents stripped, legal suffixes and punctuation removed, then matched exactly with the same normalized city on both sides. 458 of 513 canonical facilities matched this way (89.3%). All merges keep every historical name as a variant: 133 of 480 Ontario facility IDs changed names across years, and the spine preserves the full history.
- 3
Three merge traps were found and defused during development. Canada Brick - Aldershot versus Hanson Brick - Aldershot are different companies whose shared token is the city name itself. BUNGE CANADA - HAMILTON versus Hamilton fails the same way. Two Ingredion plants in Cardinal and Port Colborne share a company name but are different facilities. The rules: a site suffix that equals the city can never anchor a merge, and conflicting site suffixes veto the merge.
- 4
Tie-break by emissions: two federal facilities in Woodstock share the name Woodstock Plant. Anchored full-name matches are assigned before sub-form matches, so the Ontario record (Federal White Cement, 373,834 t in 2024) paired with G10114 (Federal White Cement, 373,477 t) instead of the Lafarge plant (220,315 t). Emissions agreed to 0.1 percent, confirming the choice.
- 5
The fuzzy tier (difflib at 0.90 or above) produced zero merges after the strict rules, so resolved is 0. Near-misses like Hamilton Specialty Bar (2007) Inc. versus Hamilton Specialty Bar Corporation (ratio 0.75) were left unmatched rather than guessed.
- 6
Unmatched facilities: 22 Ontario-only and 33 federal-only. Nearly all stopped reporting before 2024, which reads as closures or years below the 10-kilotonne threshold rather than matching failures. A facility whose municipality is recorded differently in the two programs cannot merge, because matching requires the same normalized city.
- 7
Biomass adjustment: Ontario's published total includes biomass CO2 and the federal total excludes it. The 2024 join subtracts biomass from the Ontario side before comparing. Any reuse of the raw totals must apply the same adjustment. The Thunder Bay Operations example shows why: 1,384.3 kt published by Ontario against 202.5 kt in the federal file, agreeing within 1 tonne after adjustment.
- 8
EWRB quarantine: the files publish no building names and no street addresses, only city and a 3-character postal code, so no record-level join is possible. All 30,693 rows are quarantined with reason codes: 3,002 report zero intensity (9.8%), 508 report absurd GHG intensity above 1,000 kgCO2e/m2 (max 2,861,043, median 25.9). The ministry's own warning that the data is not cleansed is borne out by the numbers.
- 9
EWRB city context is a ceiling, not a gap in the pipeline: for 49 cities, the median weather-normalized site energy intensity and GHG intensity across anonymized manufacturing plants. 96 matched industrial facilities carry it, flagged ecological. It must never be presented as a building's own intensity.
- 10
Anomalies: 128 year-over-year flags on bases above 1,000 tonnes, jumps above 200 percent or drops above 75 percent. The largest is Rainy River Mine, 4,660 to 146,180 tonnes from 2018 to 2019 (+3,037 percent), a mine ramping up, verified against the raw file.
- 11
Landfills: 89 facilities identified by NAICS 56221 or name. A join spec for the provincial landfill registry is published, but no registry file was downloaded, so the registry-side join is a spec, not a computed join.
- 12
Limits: 2024 is the latest vintage on all three sources. Both programs use a 10-kilotonne reporting threshold, so small emitters are absent. Kilograms are not harm and tonnes are not blame: these are reported totals, not health impact.