Files
republic-os/data/jurisdictions/us/states/ma/counties/middlesex/index.md
T
Fabio 199d8b37d3 Municipals: nest 1,823 city officeholders under their real counties
Pull Atlas's place→county crosswalk (Census TIGER 2024 places × county
geometries, 32,041 places) into the build as a committed raw input, and
use it to resolve municipal officeholders whose county was unknown.

- data/place_county_crosswalk.jsonl — new raw input (place_geoid → county_geoid)
- build.py — place-name+state → county_geoid → ACS county slug as a fallback
  in county_slug(); city_slug() generalized to non-FL bare place labels
- data/sources/sources.yaml — provenance entry for the crosswalk

_unresolved municipals: 1919 → 58. The remainder are genuine: CT planning
regions (post-county), county-level rows mislabeled municipal upstream,
consolidated city-counties (null label), Wikidata-QID placeholder names,
and ambiguous same-name places — left unresolved rather than guessed.

Join key is county_geoid (5-digit FIPS); the directory slug is taken from
the ACS county node so municipals nest under the exact existing county dir.
Deterministic (byte-identical rebuild); validate.py passes 19,721 records.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 20:23:57 -04:00

1.3 KiB
Raw Blame History

type, title, classification, fips, state, demographics, sources, confidence, tags, timestamp
type title classification fips state demographics sources confidence tags timestamp
Jurisdiction Middlesex County, MA county 25017 MA
population population_under_18 population_18_64 population_65_plus median_household_income poverty_rate homeownership_rate unemployment_rate median_home_value gini_index vacancy_rate race_white race_black race_asian race_native hispanic bachelors_plus
1638365 318865 1052493 267007 130847 7.74 61.32 4.35 727800 0.4747 4.52 1093628 80327 223582 3246 151761 1044737
field source
demographics Census ACS 2023
official
jurisdiction
county
ma
2026-07-03

Middlesex County, MA

County jurisdiction — 7 officeholders mapped.

Demographics (ACS 2023)

Measure Value
Population 1638365
Under 18 318865
1864 1052493
65+ 267007
Median household income 130847
Poverty rate 7.74
Homeownership rate 61.32
Unemployment rate 4.35
Median home value 727800
Gini index 0.4747
Vacancy rate 4.52
White 1093628
Black 80327
Asian 223582
Native 3246
Hispanic/Latino 151761
Bachelor's or higher 1044737

Source

  • demographics: Census ACS 2023