Methodology
How the atlas is built
The atlas shows what the publishers measured, plus shares and change derived only under the rules below. Every missing value is explained, every number is tied to a source, and the limits that remain are recorded here.
Data principles
These are enforced by the pipeline and its validation rules, not just editorial preferences. The current warehouse holds 731,799 observations across 2,968 areas and 67 sources.
Missing is never zero
A missing value is null with a status that says why. No zero, no interpolation and no area-weighted substitute is written. A missing value in a total makes the total missing rather than a partial sum.
| Status | Observations | Meaning |
|---|---|---|
ok | 700,154 | A published value. |
rounded | 5,398 | A published value rounded by its source; rounding rules differ (Statistics Canada random multiples of five, IRCC nearest five, City projections separately labelled). |
suppressed | 2,289 | Suppressed by the publisher, to protect privacy or because the number is unreliable. |
not_available | 293 | Not published for this area. |
not_applicable | 22,267 | Doesn’t apply to this area (for example, a change from zero, or a source that does not cover it). |
not_comparable | 1,398 | Not comparable: the boundary or the question changed between 2016 and 2021, so no change is shown. |
Only ok and rounded carry a value; every other status carries null. The warehouse enforces this with a CHECK constraint, and the validation rules run it on every build.
Never sum overlapping categories or different scopes
89 indicators are marked non-summable because their categories overlap or are multi-response (ethnic origin, multiple visible minorities, medians and rates). sumAreas() is the only way the app totals areas: it refuses non-summable and non-count indicators, mixed levels, Toronto council areas (Scarborough is indicative) and duplicate areas. Council areas are never added into a Toronto total, and the Toronto CMA is labelled separately from the GTA.
Every share uses its own table’s total
A share divides by the total from the same table and universe, not by a convenient nearby population. Visible-minority shares divide by the visible-minority total, not the private-household population. Multi-response shares can exceed 100% and are never normalised to force a total. 1,082 indicators carry a denominator link; they use 36 distinct denominators.
Change only on comparable geography
Change is computed only where the same geography or a documented tract relationship supports it, and only where Statistics Canada treats the concept as comparable between 2016 and 2021. A changed question or definition gets no change value even on unchanged geography. No area weighting is ever used. Merged and complex tracts are not_comparable, and Toronto’s 140- and 158-neighbourhood models are never compared.
Every number has a source
Every indicator and every observation with its own source resolves to a source row with a publisher, URL, licence and retrieval date. The source register also records the exact file checksum where the pipeline cached one.
Rounding is disclosed, not hidden
Statistics Canada randomly rounds counts, so components and totals can differ by up to five per rounded cell; the validation allows that tolerance. City areas built from rounded pieces get a 0.2% tolerance, and the three published tract exceptions are listed in the validation rules. A rounded-to-zero count keeps its rounded status rather than becoming an unexplained zero.
No causal claims
The atlas describes counts, shares and change. It does not claim that one group’s presence causes another outcome, and it never pairs community composition with crime in an overlay, joined table, correlation tool or saved URL.
Geography and comparability
Areas are selected from the GTA’s 25 municipalities, the 2 First Nation reserves, the 5 regions and the Toronto CMA, plus Toronto’s wards, council areas and two neighbourhood models. Census tracts are selected by containing census subdivision.
3D Spatial Stratigraphy · Non-Additive Geography Rules
Multi-Scale Geographic Architecture
Municipal & First Nation Reserve Layer
25 GTA Municipalities · 2 First Nation Reserves
Census subdivisions. First Nation reserves inside Durham and York are mapped at their own level and never added into municipal or regional totals.
| Level | Areas |
|---|---|
| Country | 1 |
| Census metropolitan area | 1 |
| GTA region | 5 |
| GTA municipality | 25 |
| First Nation reserve | 2 |
| Toronto ward | 25 |
| Toronto Community Council Area | 4 |
| Toronto neighbourhood (158 model) | 158 |
| Toronto neighbourhood (140 model) | 140 |
| Census tract (2021) | 1,342 |
| Census tract (2016) | 1,264 |
| Province | 1 |
Census tracts, 2016 → 2021
Statistics Canada publishes no 2016↔2021 census tract correspondence. The relationships are derived from its own linkage files: the 2021 block correspondence (92-156-X) and both Geographic Attribute Files (92-151-X). Each 2021 block links one 2016 tract to one 2021 tract; tracts joined through blocks form groups. No boundary overlay is used.
There are 1,261 GTA tracts on 2016 boundaries and 1,339 on 2021 boundaries, plus 3 and 3 not-tracted areas. The warehouse holds observations for 1,261 of the 2016 tracts and 1,339 of the 2021 tracts. A not-tracted area is shown with an explanation and links to its municipality; it is never given invented tracts.
| Relationship | 2016 tracts | 2021 tracts | What it means | Change |
|---|---|---|---|---|
same | 1,198 | 1,198 | One 2016 tract maps to one 2021 tract. | Compared directly. |
split | 57 | 130 | One 2016 tract became several 2021 tracts, each drawn only from it. | 2021 tracts are added back up to their 2016 parent, for change only. Counts only. |
merge | 2 | 0 | Several 2016 tracts became one 2021 tract. | Not comparable. No change is shown. |
complex | 4 | 11 | The tracts share territory in a way that is neither a clean split nor a clean merge. | Not comparable. No change is shown. |
A 2021 tract fed by 2016 tracts with different relationships counts as complex, so the 2021 side of the merge column can be smaller than the 2016 side. Split tracts re-add counts only; their medians and rates are not comparable.
Minor boundary transfers
A transfer of 20 people or fewer between areas that each keep their own main link is a minor transfer. It is recorded in the area’s note and in docs/boundary-changes.md, but it does not break comparability: Statistics Canada’s random rounding already moves every count by up to five.
| From | To | People (2021) | Land area |
|---|---|---|---|
| 5350016.00 | 5350017.01 | 0 | 0.023 km² |
| 5350194.02 | 5350194.01 | 0 | 0.036 km² |
| 5350403.16 | 5350430.06 | 5 | 0.035 km² |
| 5350576.70 | 5350577.09 | 0 | 0.003 km² |
| 5370205.01 | 5370205.02 | 0 | 0.004 km² |
| outside the GTA (census division 3522) | 5350587.01 | 15 | 0.467 km² |
Municipal boundary changes
The GTA’s 25 municipal boundaries are checked against the 2016 and 2021 census subdivisions. 2 minor transfers are recorded; no recorded transfer breaks municipal comparability.
| From | To | Blocks | People (2021) | Land area |
|---|---|---|---|---|
| MonoTown in Dufferin County, outside the GTA | Caledon | 2 | 15 | 0.467 km² |
| Markham | Whitchurch-Stouffville | 2 | 5 | 0.035 km² |
Denominators and sampling
A denominator is chosen per table, not per topic. The table below shows the most-used denominator links in the current warehouse; each one is the total from the same publisher table and universe as the numerator.
| Denominator | Label | Indicators |
|---|---|---|
pr_admissions:total | Permanent resident admissions: Canada total (flows) | 217 |
pr_admissions_historical:total | Historical permanent resident admissions: total (2006–2015 flows) | 212 |
interpretation_911:total | Paramedic 911 interpretation calls | 103 |
denominator:origin | Population in private households, ethnic or cultural origin section | 60 |
denominator:birthplace | Population in private households, immigrant place-of-birth section | 49 |
denominator:language | Population in private households, mother tongue section | 44 |
Rates, medians and averages are never summed. Multi-response categories keep their own universe and can add to more than 100%; the UI marks them as “can’t be added together”. A missing own-table denominator makes a share missing, never a count formatted as a percentage.
City 25%-sample tables
City of Toronto tables that are the 25%-sample version of a 100%-data table become :sample indicator variants. Mother tongue uses v0’s language:* ids instead. They never share an indicator with Statistics Canada’s 100% counts. The current warehouse has 92 sample indicators and 44 mother-tongue indicators.
| Source | Sample indicators |
|---|---|
| Neighbourhood profiles: 2021 Census, 158-neighbourhood model | 89 |
| Ward profiles (25-ward model): 2011–2021 Census data | 3 |
332 indicators come from City of Toronto sources in total. Their universes say “Toronto only” wherever coverage is limited; the next section explains how that is shown.
Coverage: Toronto only is not zero
City of Toronto sources cover Toronto only. An area outside Toronto gets null with not_applicable and the label “Not covered by this source”, never zero and never another municipality’s directory coverage. Toronto-only layers carry a visible badge in the picker, legend, table caption and area panel. The current warehouse has 143 indicators whose universe says “Toronto only” and 22,267 observations marked not_applicable (the status used for areas a source does not cover, and for changes from zero).
Point and business evidence
11 published City point sources contribute 169,568 records to the point pipeline. Points are assigned to areas by point-in-polygon; records without coordinates stay in the warehouse and the source diagnostics rather than being geocoded by address or assigned to a ward. Points outside Toronto are flagged outside_source_coverage, not treated as another municipality’s coverage.
3,391 Canadian Business Counts indicators stay in the warehouse as a full CSD × NAICS × employment-size cube, but are served as static per-CSD assets rather than D1 indicator or map rows. They are employer business locations, not companies, and not a time series.
Community composition and business counts appear in separate panels. Co-location is not causation, and a mapped or listed business is not a complete census of businesses.
Source series stay separate
Different vintages, models and universes are never stitched into one chart or one indicator. These are the deliberate separations in the current build:
Annual estimates and census counts are different series
July 1 population estimates (tables 17-10-0155-01 and 17-10-0152-01) are not census counts. Estimates are never substituted for census values, census years are not interpolated into the annual timeline, and both WDS series use 2021 geography even for their 2016 snapshots.
- Population estimates, July 1, by census subdivision, 2021 boundaries (table 17-10-0155-01)
- Population estimates, July 1, by census division, 2021 boundaries (table 17-10-0152-01)
- 98-401-X2021006 Census Profile comprehensive download (CSV, English): Canada, provinces, territories, CDs, CSDs and DAs - Ontario only
- 98-401-X2021007 Census Profile comprehensive download (CSV, English): CMAs, tracted CAs and CTs
v0’s 17-municipality estimates stay separate from the WDS series
v0’s population:estimate keeps its own 17 municipalities and source for old links and byte-identical downloads. population:estimate_wds is the separate 25-municipality series. They are never mixed or stitched, even where their values agree.
Current and historical IRCC admissions are never stitched
Current permanent-resident admissions (2015 onward) and the separate historical destination × citizenship cross-tabs are different vintages. Admissions are flows of new permanent residents, not residents (stock), and are not added to municipal population counts.
- Canada - Permanent Residents by Province/Territory and Census Metropolitan Area (CMA), January 2015 - August 2026
- Canada - Permanent Residents by Country of Citizenship, January 2015 - August 2026
- Canada - Permanent Residents by Province/Territory and Immigration Category, January 2015 - August 2026
- Canada - Admissions of Permanent Residents by Province/Territory and Census Metropolitan Area (CMA) of Intended Destination and Country of Citizenship, 2006 - April 2016
- Canada - Admissions of Permanent Residents by Intended Province/Territory of Destination and Country of Citizenship, 2000 - March 2016
Admissions and 911 demand are source signals, not resident profiles
IRCC permanent-resident admissions and Toronto’s 911 language-interpretation counts stay in their own panels. They are never added to census resident counts or shown as profile sections: admissions are flows of new permanent residents, and 911 calls are service demand, not residents.
- Canada - Permanent Residents by Province/Territory and Census Metropolitan Area (CMA), January 2015 - August 2026
- Canada - Permanent Residents by Country of Citizenship, January 2015 - August 2026
- Canada - Permanent Residents by Province/Territory and Immigration Category, January 2015 - August 2026
- Canada - Admissions of Permanent Residents by Province/Territory and Census Metropolitan Area (CMA) of Intended Destination and Country of Citizenship, 2006 - April 2016
- Canada - Admissions of Permanent Residents by Intended Province/Territory of Destination and Country of Citizenship, 2000 - March 2016
- Paramedic Services 911 Language Interpretation: language services data, 2014–2025
Toronto’s 140- and 158-neighbourhood models are never compared
The 2016 140-neighbourhood model and the 2021 158-neighbourhood model are separate geographies. They are never compared, joined or summed across models; each model has its own indicators and periods.
City 25%-sample tables never share an indicator with StatCan 100% counts
City of Toronto 25%-sample tables become :sample indicator variants; mother tongue uses v0’s language:* ids. They never share an indicator with Statistics Canada’s 100% counts, and the universe is shown wherever the two look alike.
- Neighbourhood profiles: 2021 Census, 158-neighbourhood model
- Ward profiles (25-ward model): 2011–2021 Census data
- 98-401-X2021006 Census Profile comprehensive download (CSV, English): Canada, provinces, territories, CDs, CSDs and DAs - Ontario only
- 98-401-X2021007 Census Profile comprehensive download (CSV, English): CMAs, tracted CAs and CTs
Current and retired library branches are separate sources
The retired 2011 Toronto Public Library branch KML is a distinct source from the current library branch package. It is kept separate and never summed with the current layer.
Safety series stand alone
Crime counts and rates, shootings and fire incidents are separate sources with their own universes and denominators. No overlay, joined table, correlation tool or saved URL pairs community composition with crime.
Canadian Business Counts are static, not D1 indicators
The full CSD × NAICS × employment-size cube is exported per CSD as static assets. It is not expanded into D1 indicator or map rows, is not a time series, and the June 2026 title is disclosed alongside the CSV’s REF_DATE of 2026-01.
311 requests are ward-month aggregates only
Only complete 25-ward years are served (2018–2020 and 2022–2025). 2016–2017 use the retired 44-ward model, the publisher’s 2021 file stops in October, and requests left without a ward are excluded rather than allocated. Raw request records, addresses and per-request downloads are never published.
Phase 4 release gates remain open
The atlas does not claim complete OpenStreetMap coverage or audited name inference. These gates are open and are disclosed rather than filled with inferred counts.
- OpenStreetMap
- 15 of 48 query-hashed Overpass responses are cached. No partial GTA layer is published, and no retry service is running; the missing responses or a complete export must be supplied before the layer can be released.
- Name inference
- The positive and negative lexicons exist (30 positive rules, 12 negative rules), but the rule-strength scores are uncalibrated, not measured accuracy. There is no published inference layer, no full-source 200-record hand audit and no external correction form. Inference stays off by default and is never merged into tagged counts.
- City point sources
- City-wins deduplication within 50 m is retained despite stale City warnings. Outside Toronto, tour stops are flagged
outside_source_coveragerather than treated as another municipality’s directory coverage.
Phase 4 coverage is not final. The D1 budget below must be reprojected after full OSM acquisition and audited inference; it is not a projection for completed Phase 4.
D1 write budget
The app is built to serve packed rows from Cloudflare D1 on the free tier, which allows 100,000 rows written per day. The pipeline refuses a load above its own 90,000 ceiling. The current full replace projects 85,257 rows written, leaving 4,743 under the pipeline ceiling and 14,743 under the free-tier daily limit. The projection is computed from the warehouse and the current serving builder, not copied from an old report.
| Table | Rows | Writes per row | Writes |
|---|---|---|---|
sources | 67 | 2 | 134 |
geographies | 2,968 | 3 | 8,904 |
indicators | 1,178 | 3 | 3,534 |
map_packs | 14,567 | 2 | 29,134 |
profile_packs | 6,032 | 2 | 12,064 |
poi_counts | 1,477 | 2 | 2,954 |
search (fts5) | 561 | 3 | 1,683 |
26,850 rows are inserted and then deleted for a full replace; the delete cost is included. Inserts project 58,407 writes and the replace adds 26,850 deletes. The projection is within the pipeline ceiling. 1,178 indicators are packed for D1; the rest of the warehouse’s 4,569 indicators include the static business-count cube.
Reproduce this page
This page and the source register are generated, static content; neither reads D1 at request time. After a raw build, run:
node pipeline/export-provenance.tsThe exporter reads the warehouse’s sources table and pipeline/manifest.json, then writes src/content/provenance.json. A source gets a file block only when its SHA-256 and URL both match exactly one manifest entry; ambiguous matches stay unlinked. The build mode is raw.
PIPELINE_INPUT=fixtures produces a verification copy at pipeline/out/provenance.fixtures.json, never the public asset. Fixtures are trimmed for CI, so their counts and coverage must not be published as the atlas’s data. A raw build is required for the public page.
The five v0 CSV downloads on the source page are regenerated byte-identically by pipeline/export-csv.ts and checked against legacy/dist/assets/. No raw 311 request records, addresses or local cache paths are published; only public source metadata and checksums are included.