Skip to content
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

Iterate over ILCS and ILRS we can't match, to improve our regexes / parsing #7

Open
bepetersn opened this issue Aug 11, 2014 · 0 comments
Labels

Comments

@bepetersn
Copy link
Member

Iterate over the ILCS and ILRS codes we currently aren't matching to try to improve our regexes / parsing.

ghing added a commit to ghing/cook-convictions-data that referenced this issue Nov 27, 2014
Add final_statute_formatted field to the Disposition and Conviction
model.

Add a format_statute() function to format the parsed statute that will
go into final_statute_formatted.

Factor final_statute field population out into a method,
load_final_statute.

Remove trailing whitespace from files edited in this commit.

Rename statute2iucr management command to load_final_statute_and_iucr to
reflect these changes.

Fix statute.strip_surrounding_parens to handle empty string

Addresses sc3#7,
sc3/cook-convictions#83
ghing added a commit to ghing/cook-convictions-data that referenced this issue Dec 1, 2014
Add statute-based queries to group together violent, nonviolent,
affecting women and drug crimes (and index crimes within each)
to handle cases where an ILCS statute doesn't map to an IUCR code
or the mapping is ambiguous.

Addresses sc3/cook-convictions#83,
sc3#7,
sc3#6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant