Skip to main content
The Civic Intelligence dataset contains ~517K records sourced from Granicus transcripts, Legistar council matters, and Chicago ELMS, plus historical CivicPlus records. Records are collected daily and published as monthly immutable snapshots.
As of April 2026, the council_decisions, zoning_variances, and environmental_reviews tables are now actively populated. Legistar-sourced records can use an HTML collection path for cities where the JSON API is no longer accessible, and California environmental reviews are sourced from the CEQANet registry. EPA EIS records are not yet available — see known limitations for details.
Every record inherits the full APRS envelope (record_id, chunk_id, bitemporal fields, confidence_score, provenance) and carries the join keys documented below.

Dataset-specific fields

Document types

Entities

The entities_extracted field contains an array of entities mentioned in the record. Each entity includes:
Role values: councilmember, mayor, planning_commissioner, zoning_board_member, developer, resident, attorney, city_agency_staff, state_agency_staff, nonprofit_representative, business_owner, expert_witness, other. Sentiment values: supportive, favorable, neutral, concerned, opposed, hostile.
entity_urn is populated by the entity resolution pipeline. Records where resolution has not yet run will have null URNs.

Blockers

Ordered array of blocker tags identified by the LLM as standing between a proceeding and final approval:

Contingency DAG

The contingency_dag field represents conditional approval chains as a directed acyclic graph:
Node status values: pending, approved, denied, withdrawn, deferred.

Scores

Upzoning probability

Classifier-estimated probability that the proceeding results in zoning changes allowing greater density or use intensity. Built with DistilBERT fine-tuned on council minutes with labeled upzoning outcomes. Features include language_signals, entity sentiment distribution, document_type, and historical base rate by jurisdiction.
  • >= 0.600 — flagged as “likely”
  • >= 0.850 — flagged as “highly likely”
The training corpus is weighted toward San Francisco, Philadelphia, and Chicago. Probability calibration for smaller jurisdictions may be less accurate.

Hostility index

Aggregate of hostile-sentiment entity mentions and opposition-coded language signals, normalized to document length. Predicts procedural delay, not outcome.

Litigation risk score

Probability of a formal legal challenge (lawsuit, appeal to state board) within 24 months. Built with a gradient boosted classifier trained on historic filings matched to upstream proceedings. Features include hostility_index, presence of attorney role in entities, litigation_threat blocker tag, and jurisdiction base rate.
  • >= 0.700 — flagged as “high risk”

Join keys

Example query

Find high litigation-risk zoning votes in Philadelphia:

HTML collection mode

Legistar provides a JSON API for accessing council matters, but many cities have restricted API access behind authentication tokens. When the JSON API is unavailable for a jurisdiction, the collector can switch to an HTML collection mode that scrapes the same data from Legistar’s public web pages.

How it works

The HTML collector follows the same three-page navigation path a user would on a Legistar site:
  1. Calendar page — the collector reads the meeting calendar to find upcoming and recent meetings for zoning-related bodies.
  2. Meeting detail page — for each relevant meeting, the collector retrieves linked legislation items.
  3. Legislation detail page — each legislation item is scraped for matter ID, file number, title, type, status, and key dates (introduced, on agenda, final action).
The resulting records are normalized into the same schema as JSON API records, so downstream consumers see no difference in field names or structure.

Zoning variance filtering

The zoning variance collector uses keyword-based filtering to identify relevant records from the full stream of council matters. Records are included if any of the following match: Body keywords — checked against the legislative body or committee name:
  • zoning
  • board of appeals
  • board of adjustment
  • planning commission
  • land use
Matter type keywords — checked against the matter type and title:
  • variance
  • conditional use
  • special permit
  • special use
  • cup
A record passes the filter if it matches on body name, matter type, or title. This is intentionally broad so that a variance filed under a generically named committee is still captured if the title mentions the relevant keywords.
These filters differ from the ones used by the council monitor, which targets broader development-related activity (rezoning, demolition, TIF districts, etc.). The zoning variance collector is narrower and focused specifically on variance and conditional-use proceedings.

Date handling

Records collected via the HTML path may include dates in m/d/YYYY format (for example, 3/15/2026) rather than the ISO format returned by the JSON API (2026-03-15T00:00:00). The collector normalizes all date formats before storage, so occurred_at and other date fields are always stored as ISO dates regardless of the collection path.

Identifying HTML-sourced records

Records collected via the HTML path have source set to legistar_html. You can use this to distinguish them from JSON API records (source = 'legistar') in queries:

Signal extraction backend

LLM-based signal extraction (used to populate entities_extracted, language_signals, blockers, and item-level fields like outcome, units, and dollar_amount) runs on a configurable backend. Schema-constrained classification work defaults to a local model; the hosted Anthropic backend is opt-in.

Backend selection

The Granicus extractor selects a backend based on the CIVIC_EXTRACTOR environment variable: When CIVIC_EXTRACTOR is unset or set to ollama, the extractor calls the local runtime only — there is no silent fallback to Anthropic. If the local runtime returns a non-200 response or invalid JSON, the record is skipped and extracted_signals remains null. Re-run the extractor after the local runtime is restored to populate skipped records.

Configuration

Output schema

Both backends are prompted with the same schema, so downstream consumers — including the civic_decision_signals materialized view — observe identical field shapes regardless of which backend produced a record. Each item carries item_type, outcome, units, sqft, dollar_amount, h3_signal, development_sentiment, and high_signal.

Example

Run a one-off backfill against the hosted Anthropic backend:
Run the same command against a locally hosted Ollama instance:

Known limitations

  • Jurisdictional coverage is uneven — dense for San Francisco, Philadelphia, and Boston; sparse for sunbelt growth markets.
  • CivicPlus ingestion has been retired. The upstream /AgendaCenter/ViewFile/... URL pattern the scraper depended on is no longer served by the tracked city domains, so no new records with source = 'civicplus' are being landed. Historical CivicPlus rows remain valid and queryable, and the civicplus value stays in the source enum for backward compatibility. Coverage will resume once a rebuilt scraper ships.
  • language_signals vocabulary is English-only. Bilingual meetings may underperform on signal extraction.
  • Transcripts lag real-time by 24–72 hours. Use occurred_at for event-time analysis, not ingested_at.
  • The legacy document_date field is retained for backward compatibility. Use occurred_at instead.
  • Legistar HTML-sourced records (source = 'legistar_html') may have null date fields when the source page uses non-standard labels. Most major cities — including New York City, Seattle, San Francisco, and Chicago — now resolve titles, sponsoring bodies, and dates through multiple fallback labels, but some jurisdictions may still return nulls. Filter on occurred_at IS NOT NULL if your query requires dates.
  • EPA EIS environmental reviews are not yet available. The environmental_review document type currently covers California CEQA filings (via CEQANet) only. Federal NEPA coverage is planned.
  • Records collected while the local extraction backend was unreachable have null extracted_signals and may also have empty raw_text if the upstream Granicus transcript fetch did not complete. These records require both the upstream fetch and the extractor to be re-run before signals appear. See signal extraction backend for backend configuration.