Data dictionaries

Field coverage

How often one field is filled, overall and by election year, level of government, state, party, source and endorser category.

Returned by
GET /v1/coverage/fields
Shapes
The full record is in GET /v1/coverage/fields. The shorter forms in each value of a breakdown leave some fields out; a field that isn’t in every form says where it is.

How it connects

  • dictionary and field name a row of a data dictionary: /docs/dictionary/{dictionary}#field-{field} shows the same figures.

Good to know

  • Measured from the data the API serves today, about once a day, by building every record as the API returns it. Every record counts, whatever your plan covers.
  • A field inside an object or list is counted over the records that have that object, or over the list’s entries: result.total_votes over contests with a result, other_candidates[].votes over every other candidate listed.
  • A low share is not always a gap: measure_code is empty for candidate races, and result is null until an election is counted. Read the breakdowns before deciding a field is missing.

Fields

FieldTypeMeaningExample
dictionarystringThe data dictionary the field is in (GET /docs/dictionary/{dictionary}).16 values: meaningsOnly in GET /v1/coverage/fields.contest
fieldstringThe field’s path in that dictionary: details.all_mail, other_candidates[].name.Only in GET /v1/coverage/fields.ballot_text
sourcestringThe kind of record measured: election, contest, choice, candidate, endorsement, endorser or officeholder. A district, result or candidate background is measured through the contest or candidate that holds it.Only in GET /v1/coverage/fields.contest
unitstringWhat is counted, in words: contests, ballot choices, “contests (their district)”.Only in GET /v1/coverage/fields.contests
recordsintegerRecords (or list entries) that have the field’s parent: every record for a top-level field, the records with a result for result.total_votes, every list entry for a field inside a list.331842
filledintegerOf those, how many hold a value: not null, not an empty string, and for a list or object, at least one member with a value. false and 0 count as values.41377
sharenumberfilled ÷ records, from 0 to 1, to 4 places.0.1247
partialbooleantrue when share is under 0.9, or when some year, level, state or party with records has none of them filled. Check by before relying on the field for a study.Only in GET /v1/coverage/fields.true
byobjectThe same counts for each value of each breakdown the record has (keys from the coverage-dimension values: year, level, state, party, source, category). Only the breakdowns asked for with by=, all of them by default.year, level, state, party, source, category meaningsOnly in GET /v1/coverage/fields.—
measured_atstringISO 8601 date and time with time zoneWhen this kind of record was last measured. Each is measured again about once a day.Only in GET /v1/coverage/fields.2026-11-30T09:12:44Z
valuestringThe value of the breakdown: a year, level, state code, party group, source or endorser category. The most common values come first (years in order).Only in each value of a breakdown.—

Download every dictionary as CSV or JSON.

Sample (JSON)

One field coverage as the API returns it, in GET /v1/coverage/fields. More in the sample data.

{
  "dictionary": "contest",
  "field": "ballot_text",
  "source": "contest",
  "unit": "contests",
  "records": 331842,
  "filled": 41377,
  "share": 0.1247,
  "partial": true,
  "by": {
    "year": [
      {
        "value": "2024",
        "records": 151260,
        "filled": 9120,
        "share": 0.0603
      },
      {
        "value": "2026",
        "records": 96114,
        "filled": 31012,
        "share": 0.3227
      }
    ],
    "level": [
      {
        "value": "city",
        "records": 98321,
        "filled": 20711,
        "share": 0.2106
      },
      {
        "value": "federal",
        "records": 4102,
        "filled": 0,
        "share": 0
      }
    ],
    "state": [
      {
        "value": "CA",
        "records": 14551,
        "filled": 6880,
        "share": 0.4728
      }
    ],
    "source": [
      {
        "value": "not_recorded",
        "records": 288190,
        "filled": 30244,
        "share": 0.1049
      }
    ]
  },
  "measured_at": "2026-11-30T09:12:44Z"
}
Field coverage data dictionary · BallotData API