Skip to content

Simplify convictions_data/statute.py #3

Description

@ghing

This is related to sc3/cook-convictions#35. Now that sc3/python-iucr#3 is implemented, allowing lookup of ILCS references that include subsection bits, see if we can simplify/clean up the code in convictions_data/statute.py and code more of the statutes in our dataset.

Ulitmately, if the parsing code seems simple enough or it's easy to abstract it to different ILCS formats, we could move this to the iucr package to close sc3/python-iucr#8, though that still seems like a low priority to me.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions