Skip to content

Add jurisdiction info to the individual data records? #16

Description

@jessemortenson

Would it be easy to add jurisdiction data to the individual data records in the data folder? I can write a script to grab that data from the file structure and inject it into a modified version of the records, but it's extra work :) One lesson I've had from some of the legacy Open States stuff is that splitting the true data about a record between the individual file's data (x.json) and the file structure in which the file sits (ca/anaheim) causes some headaches.

In my mind we'd have additions of state and place properties (or equivalent labels):

- name: Ashleigh E. Aitken
  state: CA
  place: Anaheim
  roles:
  - Mayor
  divisions: []
  image: https://www.anaheim.net/ImageRepository/Document?documentID=58010
  cdn_image: https://cdn.civicpatch.org/open-data/ca/anaheim/images/4c64f17f0de92d0b4499d1aca906a03741fd22e571b0e40fd4b45b53d0a4d258.jpg
  email: aaitken@anaheim.net
  phone_number: "(714) 765-5247"
  website: https://www.anaheim.net/5174/Anaheim-Mayor-Ashleigh-Aitken
  start_date: 2022-11
  end_date:
  sources:
  - https://www.anaheim.net/5174/Anaheim-Mayor-Ashleigh-Aitken
  - https://www.anaheim.net/173/City-Council
  - https://www.anaheim.net/5175/Council-Member-Natalie-Meeks
  - https://www.anaheim.net/3522/Council-Member-Jose-Diaz
  - https://www.anaheim.net/2314/Council-Member-Carlos-A-Leon
  - https://www.anaheim.net/3523/Council-Member-Natalie-Rubalcava
  - https://www.anaheim.net/3524/Mayor-Pro-Tem-Norma-Campos-Kurtz
  - https://www.anaheim.net/3521/Council-Member-Stephen-Faessel
  updated_at: '2025-07-17T17:22:50Z'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions