Open data: how every US county is governed
Who governs every county in the United States: what kind of government each one has, and — where a state's roster has been collected — who currently holds each office.
Released into the public domain under CC0. No attribution required, though it is appreciated. See LICENSE.
Regenerate with wg build && wg dump from https://github.com/belgradGoat/WhoGoverns.
Files
| File | What it is | Rows | Size |
|---|---|---|---|
| contacts.csv | How to reach an office — post, phone, email | 66,022 | 14.6 MB |
| demographics.csv | Population per division | 3,144 | 53 KB |
| divisions.csv | Every county and county-equivalent | 3,196 | 379 KB |
| governments.csv | Form of government, board size, home-rule status, official website | 3,144 | 341 KB |
| offices.csv | Seats that exist, and whether they are elected | 42,129 | 4.2 MB |
| people.csv | Officeholders | 36,613 | 1.2 MB |
| terms.csv | Who holds which seat, until when, and the office's website | 42,129 | 7.5 MB |
Also in the bundle: README.md, CHECKSUMS.txt and LICENSE (CC0 1.0).
Columns
contacts.csv
contact_id, subject_type, subject_id, kind, value, label, is_official_domain, source_name, source_url
demographics.csv
geoid, population, vintage
divisions.csv
geoid, state_fips, county_fips, name, full_name, state_name, state_abbr, division_type, ocd_id, has_county_government, land_area_sqm
governments.csv
geoid, form, government_type, governing_body_name, governing_body_size, has_elected_executive, elected_officials_total, authority, home_rule_charter, source, source_vintage, website_url
offices.csv
office_id, geoid, title, role, selection_method, selection_method_source, seat
people.csv
person_id, name
terms.csv
office_id, person_id, person_name, status, is_chair, term_end_year, source_url, source_name, website_url
Joining
Everything joins on geoid, the 5-digit state+county FIPS code. Offices and terms join on office_id; terms and people on person_id.
Keep geoid as text. 01001 is Autauga County, Alabama, and a spreadsheet that reads it as a number turns it into 1001, which is nothing.
What to know before trusting a number
- Officeholders cover Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, District of Columbia, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin and Wyoming only. Other states have divisions and government structure but no names yet.
- Form of government, board size, and home-rule status are 2017 vintage — the most recent machine-readable release. These change only by charter adoption, but they are not live figures. Every record says so in
source_vintage. - Term-end dates depend on the state. Oregon publishes them as years; California publishes none at all, so its terms carry no expiry.
selection_methodis usually a state legal default, not a per-county verified fact —selection_method_sourcesays which.varies_by_countymeans state law lets each county choose and the source does not record the choice.- Contact points attach to a government or a seat, never to a person.
contacts.csvcarries a mailing address for every county government in the country, addressed to a role rather than a name; phone numbers and email addresses exist only where a state publishes them, which today means California and Oregon.is_official_domainis false on an email the office publishes that is not a government mailbox. website_urlis always the official site of an office, never a campaign or personal page. Ongovernments.csvit is the county government's own site, from the Census listing, present for roughly three counties in four. Onterms.csvit is populated for members of Congress and governors only: no source publishes a website for an individual county officeholder, and none is guessed from a hostname pattern.- Nothing here is padded. A blank means the source did not say. What each source covers, state by state, is in
data/coverage.json.
Vintages
| Layer | Vintage |
|---|---|
| Boundaries | Census 2025 |
| Government units | Census 2025 |
| Population | Census 2025 |
| Government structure | NACo 2017 |
Checksums
SHA-256 of every file in the bundle, as published in CHECKSUMS.txt:
fffd2c89df3ac9919bda10fb14a6af5019b497de1045c034223ae8a4e455fe6b LICENSE 52d976c5ee088902a059d8a00b4c3d0e5ba6137e31e634d89344a209091b24ab README.md 84338cdc6bed1a6e0b898d1bd2709470252c3eaf324df97f1785b6b8a96c6ff4 contacts.csv 21e002c34c3ac76fbe183e502b0a792dfd807c03fdbf59d5e10705f9da2c3441 demographics.csv e30720ce11ba10bc3108b28edbdcec52f860c8f224d5dbeabb76d5e7e5d06353 divisions.csv d92456f6d2009b87434596483e40428a21f65258badabbdd9975cf50cca52641 governments.csv cd5693fd2383c9c34bdd5dc019bc47d39628d60071e30a36104e13a89b0fbc8b offices.csv 876c5782d66277a7bf7f269d00da33a801f66d158092019bcab33100f1cc2237 people.csv b276885f214497aff996cf3cde34e70bb54bbe9f18db39dd7f83f0fb77b1d13c terms.csv
More
- The canonical JSON, which keeps the nested fields CSV cannot, is in the repository's
data/directory. County boundaries for mapping are served asdata/counties.topo.json. - The code that builds all of this, and the sources behind every record, are in the GitHub repository.
- Browse the same data county by county on WhoGoverns.org.