# California city data center ledger — data dictionary

Version 1.0.0 (2026-10-25). Changes since the 0.1.0 pilot: `entity` (CCA boards' records), `utility_basis`,
`outcome_source` / `outcome_quote`, `merged_types`; `mw_approved_*` now holds contracted capacity (see below).

Four CSV files, UTF-8, comma-separated, one header row. Text fields marked *as printed* are copied character for
character from the source document (the extractor's output is checked against the document; see METHODS.md). Empty
cell = the document does not state it.

## projects.csv — one row per data center project (site + company + utility), linked from its actions

| column | meaning |
|---|---|
| `project_id` | stable id `dcp-<10 hex>`: a hash of the city and the project's most specific key (site, else company, else project name). Stable across rebuilds as long as that key does not change. |
| `entity` | `city` (a city council's records) or `cca` (a community choice aggregator board's records — since 1.0.0) |
| `city` | the city whose council record holds the actions (folder slug, e.g. `santa_clara`), or the CCA's slug when `entity` is `cca` (e.g. `svce`) |
| `project_name` | the most common project name in its actions, as printed |
| `project_label` | a label given by hand where the printed names mislead (named after a substation; two facilities' names mixed) — `project_labels.csv` gives the reason; empty for most projects |
| `developer_or_customer` | the most common company name in its actions, as printed (developer, owner or electric customer) |
| `site_text` | the most common site (address, street, APN) in its actions, as printed |
| `serving_utility` | the electric utility named in its actions, as printed |
| `utility` | one name per utility for analysis (from `serving_utility`; or, where no document names it, from `utility_rules.csv`) |
| `utility_basis` | `document` (named in the documents) or `city rule: …` — the city's electric utility is unambiguous (its own municipal utility serves the whole city, or one investor-owned utility is the only distribution utility there); the rule's reason is quoted. Empty = unknown |
| `first_date`, `last_date` | dates of its first and latest action (YYYY-MM-DD) |
| `n_actions` | number of actions (rows of actions.csv) |
| `latest_action_type`, `latest_outcome` | the latest action's type and recorded outcome (`unknown` = no vote shown in the documents) |
| `latest_mw_requested_text` / `_mw_requested` / `_unit` | the latest requested load figure: text as printed, parsed number, unit (`MW`, or `MVA` — never converted to MW) |
| `latest_mw_approved_text` / `_mw_approved` / `_unit` | the latest contracted / approved figure (see `mw_approved_text` in actions.csv) |
| `mw_conflict` | 1 when the project's actions state different requested figures (e.g. the load changed between meetings) — not resolved, see `mw_requested_values` |
| `mw_requested_values` | JSON list of `[date, value, unit]` of every requested figure, in date order |
| `first_page_url` | the cities-index.com page of the document behind its first action |

## actions.csv — one row per action (a decision, application, agreement, CEQA document … about one project on one date)

| column | meaning |
|---|---|
| `action_id` | stable id `dca-<12 hex>`: hash of project_id, action_type and action_date |
| `entity` | `city` or `cca`, as in projects.csv |
| `project_id` | the project (projects.csv) |
| `city` | city slug |
| `action_type` | `electric_service_agreement` · `substation_transmission` · `land_use_entitlement` · `development_agreement` · `ceqa_document` · `large_load_tariff` · `moratorium_ordinance` · `power_supply_for_load` · `load_pipeline_report` · `other` (definitions: METHODS.md §3) |
| `action_date` | the decision date the document states, else the meeting date of the document |
| `decision_date` | the decision date the document states (packets often reprint EARLIER decisions; then this is the earlier date) |
| `meeting_date` | the meeting date of the document the action was read from |
| `item_title`, `item_number` | agenda item title and number, as printed |
| `developer_or_customer`, `project_name`, `site_text`, `serving_utility` | as printed in this action's documents |
| `mw_requested_text` | the load or capacity the project seeks / is designed for, as printed (ONE figure; the stated total when a total is given) |
| `mw_requested`, `mw_requested_unit` | that figure parsed: number and unit. GW and kW are converted to MW; MVA stays MVA. Empty when the text holds a range or several figures. |
| `mw_requested_flag` | `up_to` ("up to 99 MW"), `approx` ("approximately", "about", "over"), `range`, `several_figures`, or empty |
| `mw_approved_text` / `mw_approved` / `_unit` / `_flag` | contracted or approved capacity: a capacity schedule, load ramp, interim capacity or maximum written into a utility agreement or its amendment (also when the item asks the council to approve that agreement — `outcome` says whether it did), or a capacity a council approval names. What the customer requested stays in `mw_requested_text`. Same parsing |
| `mw_phase_text` | a per-phase, per-building or per-unit figure, as printed (never added up) |
| `mw_measure` | what the figures measure: `utility_load`, `critical_it_load`, `substation_capacity`, `aggregate_pipeline`, `unclear`, `none` |
| `voltage_text`, `facility_size_text`, `in_service_text`, `cost_text`, `who_pays_text` | as printed (service voltage; building size; energization date; cost of upgrades or agreement; who pays for the upgrades) |
| `outcome` | `approved` · `denied` · `continued` · `pulled` · `unknown` — only from words that record a decision (minutes preferred) |
| `outcome_source` | `minutes` (a minutes document records it), `document` (another document records it, e.g. a resolution or a later report), `minutes` with an `outcome_quote` = carried back from the minutes of that meeting by the minutes lookup (METHODS.md step 8), empty = no outcome |
| `outcome_quote` | for an outcome carried back from the minutes: the minutes' words, verbatim; the minutes document is in sources.csv with `kind` = `outcome` |
| `vote_text` | the vote as printed |
| `summary` | one neutral sentence written by the extractor (not a quote) |
| `evidence_quote` | the passage, verbatim from the document (≤ 300 characters), that shows the action; it contains the main MW figure when one is given |
| `page_url` | the cities-index.com page of the document, with a `#:~:text=` fragment that highlights the quote in browsers that support it |
| `source_url` | the city's own file (agenda platform link) |
| `n_sources` | number of documents that carry this action (agenda, staff report, minutes, packet copies) — all listed in sources.csv |
| `merged_types` | when one utility agreement was read as two types (electric service and substation) in documents of the same date, the types merged into this action (JSON list), else empty |
| `confidence` | the extractor's own confidence (0–1); rows below 0.6 are not in the files |
| `model` | the extraction model |

## citywide.csv — citywide actions with no single project

Moratoria and urgency ordinances, zoning-code amendments and ballot measures on data centers, large-load tariffs, and
a utility's aggregate statements of data center load (`load_pipeline_report`). Columns as in actions.csv, plus
`citywide_id` (`dcc-<12 hex>`, hash of city, type and date) and `mw_text` (an aggregate figure as printed, if any).
A CCA's rows (`entity` = `cca`) are its board's large-load policies and rates and its statements of data center load.

## sources.csv — every document behind every action

| column | meaning |
|---|---|
| `record_id`, `record_kind` | the action_id (`action`) or citywide_id (`citywide`) |
| `city`, `body`, `doc_type`, `doc_stem`, `meeting_date` | the document in the corpus (cities-index.com) |
| `entity` | `city` or `cca` |
| `kind` | `read` = the extractor read this document's passage; `copy` = an identical or near-identical passage in another document (a packet copy, the same staff report at a later meeting); `outcome` = the minutes that record the action's outcome (minutes lookup) |
| `page_url` | cities-index.com page, with the quote fragment |
| `source_url` | the city's own file |

## utility_rules.csv — the city rule behind `utility_basis`

`city`, `utility`, `basis`: one row per city whose electric utility is unambiguous; used only for projects whose documents
name no utility.
