Skip to content

Model for code citations affected by Bill #132

Description

@showerst

A number of jurisdictions offer citations to the sections of the legal/administrative codes that bills will potentially change, or have changed. It would be nice to track this data.

We're currently storing these in a few states in "extras", but it's kind of a sloppy abstraction because extras takes a string not a list, and because of the variety of citation formats, there's not a great separator for multiple entries.

I propose something like this (the method names need some work):

bill.add_proposed_citation(
  string Citation,
  datetimeoptional Adopted_date = null,
  datetimeoptional Effective_date = null,
)

bill.add_citation(
  string Citation,
  datetimeoptional Adopted_date = null,
  datetimeoptional Effective_date = null,
)

Some sample bills that have been codified:

In these examples, in WY it would be something simpler,

bill.add_citation("CH0017", <datetime>, <datetime>)

whereas in CA it would be:

bill.add_citation("Cal. Fin. Code Ch 708 § 22202", <datetime>)
bill.add_citation("Cal. Fin. Code Ch 708 § 22250", <datetime>)
etc

Proposed citations would be similar, just for cases when it's clearly stated what the bill will modify, but it hasn't been passed yet.

Thoughts on this? I'd be willing to do the PR once new state legislative sessions cool down a bit, I just don't want to get too far down that path if it's out of scope or doesn't mesh well with other levels (municipal, etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    legislativeRelating to the legislative app

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions