-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model for code citations affected by Bill #132
Comments
I'm all for this. I was initially confused by the use of a separate method
for proposed citations but I think I get it, we'll need to figure out how
to document that well.
Also, I'm curious where these usually appear, I've seen them in actions and
bill text. I'm wondering how we'll want to handle actually adding them but
I think that getting them added to the model makes sense.
…On Tue, Jan 7, 2020, 1:39 PM showerst ***@***.***> wrote:
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:
- CA
<http://leginfo.legislature.ca.gov/faces/billHistoryClient.xhtml?bill_id=201920200AB539>
- MN
<https://www.revisor.mn.gov/bills/bill.php?b=Senate&f=HF12&ssn=1&y=2019>
- WY <https://www.wyoleg.gov/Legislation/2019/HB0011>
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)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#132?email_source=notifications&email_token=AAAB6YRFR6ZK4RXRFK3DDZDQ4TD55A5CNFSM4KD5L6MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IESB6QQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAB6YTLFIH6V4MKTO7RQBDQ4TD55ANCNFSM4KD5L6MA>
.
|
RE: proposed vs final yeah this could use better naming. I've noticed that proposed doesn't match final 100% of the time (usually because of sections of a bill getting struck between versions), but it seems like for a certain subset of users "I want to look up anything in play that might change the CA financial code" would be valuable in addition to "What sections of the code did this effect after it passed?". RE:Actual collection -- Final citations seem to pretty much always be in actions, usually something like "Chaptered. SD Code Title 3 Ch. 4" or something, OR as a separate field on the site like in WY. Proposed seems to be all over, but they're often in either titles or summaries (like that CA example). They're (always?) in text too but just eyeballing it extracting those looks like a gnarly workload, so maybe we just go for low hanging fruit. https://github.com/statedecoded/law-identifier has a bunch of nice example formats of standard citation formats. From having done this in unrelated work in the past I know it can get crazy ("sections 6-34 of title nine, excepting 11,14, and 15.5-.9") but even if we started by just grabbing for a few big states it would be worth the data model work. It might benefit the local scraper folks too, since municipal code cites tend to be cleaner. Quick edit for good sample of proposed citations: WV |
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):
Some sample bills that have been codified:
In these examples, in WY it would be something simpler,
whereas in CA it would be:
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)
The text was updated successfully, but these errors were encountered: