Methodology

How neighbourhood scores work

Each metric is converted to a 0-100 score with fixed breakpoints. Metrics whose typical level depends on the city or state exam (crime, collisions, state school assessments, transit service, parkland per resident, rent, and home prices) are rescaled to San Francisco so scores compare neighbourhoods within the city.

Scoring model v2, updated 2026-10-11. Every number on this page is read from the same configuration file the data pipeline uses.

Overall score

The overall score is the weighted average of seven category scores. On the home page you can change these weights or pick a preset; category scores stay the same, only how they are combined changes.

Safety

25% of overall

Crime near homes and serious traffic collisions.

Violent crime near homes · 50% of Safety · per 1,000 residents / yr, lower is better

SFPD violent incident reports (2024-25: assault, robbery, weapons, sex offences, homicide) per 1,000 residents per year, weighted toward residential incidents and shrunk toward the citywide rate.

Source: San Francisco Police Department (DataSF)

2.0 → 1004.0 → 807.0 → 6011 → 4016 → 2025 → 0

Property crime near homes · 30% of Safety · per 1,000 residents / yr, lower is better

SFPD property incident reports (2024-25: larceny theft, burglary, motor vehicle theft, malicious mischief, vandalism, arson; fraud excluded) per 1,000 residents per year.

Source: San Francisco Police Department (DataSF)

5.0 → 10010 → 8016 → 6024 → 4035 → 2050 → 0

Injury collisions on local roads · 20% of Safety · per 10 km of road / yr, lower is better

Injury traffic crashes (2023-25) per 10 km of local road per year. Severe/fatal crashes count 3x and pedestrian or cyclist crashes count 2x. Freeway crashes are excluded.

Source: SF DPH / SFMTA Traffic Crashes Resulting in Injury (DataSF)

San Francisco scale: the reference breakpoints × 7.5, so a typical San Francisco neighbourhood (23) scores like a typical one in Ottawa (3.0).

7.5 → 10015 → 8023 → 6034 → 4053 → 2090 → 0

Schools

15% of overall

Results at the schools residents would most likely attend, and how far away they are.

Nearest elementary schools (CAASPP) · 45% of Schools · % meeting standard, higher is better

Combined ELA and Math proficiency rate at the nearest scored SFUSD elementary school, averaged across residents.

Source: US Dept. of Education NCES CCD & EdFacts

San Francisco scale: the reference breakpoints × 0.69, so a typical San Francisco neighbourhood (48%) scores like a typical one in Ottawa (69%).

28% → 034% → 2541% → 5048% → 7555% → 9559% → 100

Nearest high schools (CAASPP) · 20% of Schools · % meeting standard, higher is better

Combined ELA and Math proficiency rate at the nearest scored SFUSD high school, averaged across residents.

Source: US Dept. of Education NCES CCD & EdFacts

San Francisco scale: the reference breakpoints × 0.74, so a typical San Francisco neighbourhood (52%) scores like a typical one in Ottawa (70%).

30% → 041% → 3048% → 5555% → 8063% → 100

Distance to an elementary school · 35% of Schools · km, lower is better

Average straight-line distance from homes to the nearest public elementary school of any board.

Source: City of Ottawa Schools

0.4 km → 1000.8 km → 851.5 km → 603.0 km → 306.0 km → 0

Amenities

15% of overall

Share of residents who can reach everyday destinations nearby.

Grocery store within 1 km · 25% of Amenities · % of residents, higher is better

Share of residents living within 1 km (straight line) of a grocery store.

Source: Ottawa Public Health food premises, categorized

0% → 090% → 100

Park within 400 m · 20% of Amenities · % of residents, higher is better

Share of residents within 400 m of the edge of a City park.

Source: City of Ottawa Parks and Greenspace

0% → 095% → 100

5+ places to eat within 800 m · 20% of Amenities · % of residents, higher is better

Share of residents with at least five restaurants, cafes, bakeries or pubs within 800 m.

Source: Ottawa Public Health food premises, categorized

0% → 090% → 100

Recreation facility within 1.5 km · 15% of Amenities · % of residents, higher is better

Share of residents within 1.5 km of a City pool, arena, rink or community centre.

Source: City of Ottawa recreation facilities

0% → 090% → 100

Distance to a library · 20% of Amenities · km, lower is better

Average distance from homes to the nearest Ottawa Public Library branch.

Source: Ottawa Public Library

1.0 km → 1002.0 km → 803.5 km → 606.0 km → 3510 km → 1015 km → 0

Getting Around

15% of overall

Frequent transit, protected bike routes, and how far homes are from downtown jobs and highways.

Peak transit service near home · 35% of Getting Around · departures / hour, higher is better

Weekday 7-9 am departures per hour within 400 m (Muni buses) or 800 m (BART and Muni Metro rail), counting each route and direction once, averaged across residents.

Source: SFMTA Muni GTFS; BART GTFS

San Francisco scale: the reference breakpoints × 3.46, so a typical San Francisco neighbourhood (43/hr) scores like a typical one in Ottawa (13/hr).

0/hr → 014/hr → 2535/hr → 5069/hr → 75138/hr → 100

Distance to downtown · 25% of Getting Around · km, lower is better

Average straight-line distance from homes to the Financial District (Market and Montgomery).

Source: Computed from resident locations

3.0 km → 1006.0 km → 8510 km → 6515 km → 4525 km → 2040 km → 0

Protected bike route within 400 m · 25% of Getting Around · % of residents, higher is better

Share of residents within 400 m of a multi-use path, cycle track or segregated bike lane. Painted lanes, suggested routes and paved shoulders don't count.

Source: City of Ottawa Cycling Network

0% → 090% → 100

Distance to a highway · 15% of Getting Around · km, lower is better

Average distance from homes to the nearest freeway or provincial highway.

Source: City of Ottawa Roads - Classification

1.0 km → 1002.0 km → 854.0 km → 657.0 km → 4012 km → 1520 km → 0

Nature

10% of overall

Tree cover, nearby large greenspace, and parkland per resident.

Tree canopy · 35% of Nature · % coverage, higher is better

Not available for San Francisco, so Nature is scored from its other metrics.

Large greenspace within 1 km · 35% of Nature · % of residents, higher is better

Share of residents within 1 km of a park or nature area of 4 ha or more (City or federal/NCC land), or an NCC Greenbelt trail.

Source: City of Ottawa Parks and Greenspace; OpenStreetMap (for NCC and provincial land); NCC Greenbelt trails

0% → 090% → 100

Parkland nearby per 1,000 residents · 30% of Nature · ha / 1,000 residents, higher is better

Hectares of City parkland within 1 km of each home divided by the residents who share it. The City's planning standard is 2 ha per 1,000 residents.

Source: City of Ottawa Parks and Greenspace

San Francisco scale: the reference breakpoints × 0.68, so a typical San Francisco neighbourhood (3.7) scores like a typical one in Ottawa (5.5).

0 → 00.7 → 351.4 → 652.7 → 855.5 → 100

Affordability

10% of overall

Typical rent and home value, from one consistent source for every neighbourhood.

Typical rent · 50% of Affordability · $ / month, lower is better

2020-2024 ACS median gross monthly rent scaled to current San Francisco asking rent (Zillow ZORI).

Source: US Census Bureau 2020-2024 ACS; Zillow Research

San Francisco scale: the reference breakpoints × 1.87, so a typical San Francisco neighbourhood ($3,740) scores like a typical one in Ottawa ($2,000).

$2,430 → 100$2,990 → 80$3,550 → 60$4,110 → 40$4,860 → 20$5,980 → 0

Typical home value · 50% of Affordability · $, lower is better

2020-2024 ACS median owner-occupied home value scaled to current San Francisco market value (Zillow ZHVI).

Source: US Census Bureau 2020-2024 ACS; Zillow Research

San Francisco scale: the reference breakpoints × 1.97, so a typical San Francisco neighbourhood ($1,300,000) scores like a typical one in Ottawa ($659,000).

$786,000 → 100$1,080,000 → 80$1,380,000 → 60$1,770,000 → 40$2,360,000 → 20$3,140,000 → 0

Health & Environment

10% of overall

Emergency care, primary care, overdose burden and traffic noise.

Distance to an emergency department · 40% of Health & Environment · km, lower is better

Average straight-line distance from homes to the nearest 24/7 adult emergency department.

Source: California HCAI

3.0 km → 1006.0 km → 8510 km → 6515 km → 4525 km → 2040 km → 0

Overdose ED visits · 25% of Health & Environment · per 100K / yr, lower is better

Not available for San Francisco, so Health & Environment is scored from its other metrics.

Homes next to major roads · 20% of Health & Environment · % of homes, lower is better

Share of homes (apartment addresses weighted by their units) within 150 m of a freeway or 50 m of an arterial road, a standard proxy for traffic noise and air pollution exposure.

Source: City of Ottawa Municipal Address Points; Roads - Classification

0% → 1005% → 8510% → 7020% → 4535% → 2050% → 0

Distance to a family / walk-in clinic · 15% of Health & Environment · km, lower is better

Interim measure: average distance to the nearest family practice or walk-in clinic mapped in OpenStreetMap. OSM coverage is incomplete; this will be replaced by neighbourhood primary-care attachment rates when they are published.

Source: OpenStreetMap contributors

0.5 km → 1001.0 km → 852.0 km → 655.0 km → 3510 km → 1015 km → 0

Turning values into scores

Each metric is mapped to 0–100 with fixed breakpoints (shown beside each metric) and straight lines between them. Values beyond the first or last breakpoint get that breakpoint's score. Because the breakpoints are fixed, a neighbourhood's score only changes when its own data changes.

Each city has its own scale. Most metrics mean the same thing everywhere (a 500 m walk to a school, a test result, tree cover), so they share breakpoints. Metrics whose typical level is set by the city itself (collisions per kilometre of busy road, transit service, parkland per resident, rents and home prices, and overdoses, which cities count differently) are rescaled for each city: the breakpoints are multiplied by the city's median over Ottawa's, keeping the same curve. Scores compare neighbourhoods within a city, not across cities.

Counts of rare events (crime, collisions, overdoses) are noisy in small neighbourhoods. Rates are shrunk toward the city rate by adding 5,000 person-years (or 30 road-km-years for collisions) at the city average. This pulls small neighbourhoods toward the middle in both directions; large neighbourhoods barely move.

Missing data is never treated as zero. A category's score is the weighted average of the metrics that have data; if less than 70% of its weight has data, the category is left out of the overall score and the neighbourhood is flagged.

Score labels: Excellent (80+), Very good (75+), Good (65+), Fair (55+), Poor (0+). The thresholds are set so a label never contradicts a neighbourhood's tier (no “Very good” in the bottom half).

Rankings

Neighbourhoods with the same rounded score share a rank. Because reasonable people weigh categories differently, each neighbourhood also shows a likely rank range: the overall score is recomputed 500 times with every category weight multiplied by a random factor between 0.8 and 1.2, and the range covers the 10th to 90th percentile of the resulting ranks.

Tiers: Top 10%, Top 25%, Top half, Bottom half. A narrow range means the rank holds up under different weightings; a wide one means it depends on what you value.

Presets on the home page:
  • Balanced: The default weights. (Safety 25%, Schools 15%, Amenities 15%, Getting Around 15%, Nature 10%, Affordability 10%, Health & Environment 10%)
  • Families: Schools, safety and parks first. (Safety 25%, Schools 25%, Amenities 10%, Getting Around 5%, Nature 15%, Affordability 10%, Health & Environment 10%)
  • Car-free: Transit, walkable amenities and downtown access. (Safety 15%, Schools 5%, Amenities 25%, Getting Around 35%, Nature 5%, Affordability 10%, Health & Environment 5%)
  • On a budget: Lower rent and home prices weigh most. (Safety 20%, Schools 10%, Amenities 10%, Getting Around 15%, Nature 5%, Affordability 35%, Health & Environment 5%)
  • Retirees: Safety, health care and quiet nature. (Safety 25%, Amenities 20%, Getting Around 10%, Nature 15%, Affordability 5%, Health & Environment 25%)

Shown but not scored

These appear in each neighbourhood's breakdown for context but do not affect scores.

All police-reported incidents
Every incident in the neighbourhood divided by residents. Inflated in areas with many visitors, so it is shown but not scored.
Residents used for crime rates
2021 Census population grown by the dwellings added since (municipal address points), estimated for the crime data period, so fast-growing suburbs are not divided by an out-of-date population.
Incidents in commercial / institutional areas
Incidents on land zoned commercial, industrial, institutional or park. Reflects visitor activity more than risk at home.
All collisions
Every reported collision, including property-damage-only.
Schools inside the boundary
Count of schools located inside the neighbourhood polygon. Not scored, since children often attend schools just outside it.
Workers commuting 60+ min
2021 Census. Collected during the pandemic, so shown for context only.

Known limitations

  • Neighbourhoods are San Francisco's 38 residential Analysis Neighborhoods (DataSF), excluding the three unpopulated major-park zones (Golden Gate Park, Lincoln Park, and McLaren Park). Demographics come from US Census Bureau 2020–2024 ACS 5-Year block groups aggregated to neighbourhoods (foreign-born share from parent tracts).
  • Crime uses San Francisco Police Department Incident Reports for 2024–25 (fraud excluded). Road safety uses DataSF Traffic Crashes Resulting in Injury (2023–25), excluding freeway crashes, with severe/fatal crashes weighted 3x and pedestrian/bicycle crashes weighted 2x.
  • Transit counts SFMTA Muni (bus and Muni Metro light rail) and BART rapid rail weekday 7–9 am departures from official GTFS schedules. Public schools come from the US Department of Education NCES Common Core of Data joined with federal EdFacts state assessment (CAASPP) ELA and Math proficiency midpoints.
  • Rent and home values scale 2020–2024 ACS medians to current San Francisco market benchmarks (Zillow ZORI/ZHVI). Scores compare neighbourhoods within San Francisco using city-scaled breakpoints for state school proficiency, crime, road safety, transit frequency, parkland per resident, rent, and home price.
Privacy

Help improve TopHoods

With your permission, Google Analytics measures visits and Microsoft Clarity records interactions to help us improve the site. Privacy details