Skip to content

Solano County municipal codes

Municipal codes, as data

Every city keeps a book of laws that changes only by ordinance: a version-controlled document without the version control. Here each city's published code becomes structured data, one record per title, chapter and section, with its ordinance history kept. Treated as data, the codes can be compared: what is shared between cities, what hasn't been touched in decades, and where the text came from.

Codes ingested

City Code Sections Snapshot Source
Benicia Benicia Municipal Code 2,379 2026-08-16 Official source
Fairfield Code of the City of Fairfield 2,060 2026-08-10 Official source
Rio Vista Rio Vista Municipal Code 1,503 2026-08-16 Official source
Suisun City Suisun City Code of Ordinances 1,853 2026-08-16 Official source
Vacaville Vacaville Municipal Code 2,257 2026-08-10 Official source
Vallejo Vallejo Municipal Code 3,499 2026-08-16 Official source

What the first two codes showed

Vacaville and Fairfield were the first codes ingested and compared mechanically.

273

Near-duplicate sections between the two cities

Nineteen are identical; the rest are drifted copies. They cluster into whole shared chapters: cannabis tax, animal control, sales tax, landscaping.

87%

Of one landscaping chapter is state-model text

Measured against California's Model Water Efficient Landscape Ordinance. The shared chapters trace to nameable upstreams, such as state mandates and model ordinances.

22

Chapters untouched for 25 years or more in one city

They include a Redevelopment Agency chapter, an institution California dissolved in 2012, and 1969 rules for licensing jukeboxes. Codes accumulate, and reviewing them is nobody's job yet.

How it works

Everything derives from each city's own published code, reproducibly, with a verification step before any comparison runs.

  1. 1 · Ingest

    The published code becomes a tree of titles, chapters, articles and sections, each addressable, with its ordinance history kept.

  2. 2 · Verify

    The parsed tree is reconciled against the code's own table of contents. Two independent readings must agree.

  3. 3 · Date

    History notes such as "(Ord. 1042 § 1, 1979)" become a dated panel of when each section was adopted, amended or replaced.

  4. 4 · Compare

    Text similarity finds repeated and drifted sections within and between cities, and measures chapters against their upstream model text.

Why this matters

The law that most directly shapes daily life, from parking to housing to permits, is usually published as a browsing interface with a PDF download. Treated as data, a code can answer questions the portal can't.

Which provisions haven't been reviewed since the 1960s? Which chapters copy a state model, and how far behind the current model have they fallen?

Cities that share upstream ordinances could review shared text once instead of seven times, the way software shares libraries. Measuring the duplication is the first step toward that commons.