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

conformed cleaner to new parser json structure + unit test updates #163

Merged
merged 1 commit into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions resources/test_files/cleaned_test_json/test_123456.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parsing_date": "2024-11-02",
"html_hash": "8d4a80173c700b37",
"Case Metadata": {
"county": "hays"
},
"Defendant Information": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 we should use snake_case on these keys.

"appointed_or_retained": "Court Appointed",
"defense_attorney": "9083bb693e33919c"
},
"Charge Information": [
{
"charge_id": 0,
"charge_level": "Second Degree Felony",
"orignal_charge": "AGGRAVATED ASSAULT WITH A DEADLY WEAPON",
"statute": "22.02(a)(2)",
"is_primary_charge": true,
"charge_date": "2015-10-25",
"charge_name": "AGGRAVATED ASSAULT WITH A DEADLY WEAPON",
"uccs_code": "1200",
"charge_desc": "Aggravated Assault",
"offense_category_desc": "Aggravated assault",
"offense_type_desc": "Violent"
}
],
"Case Details": {
"earliest_charge_date": "2015-10-25",
"has_evidence_of_representation": false
},
"Disposition_Information": [
{
"date": "12/06/2016",
"event": "Disposition",
"details": [
{
"charge": "1. AGGRAVATED ASSAULT WITH A DEADLY WEAPON",
"outcome": "Deferred Adjudication"
}
]
},
{
"date": "11/04/2019",
"event": "Amended Disposition",
"details": [
{
"charge": "1. AGGRAVATED ASSAULT WITH A DEADLY WEAPON",
"outcome": "Amend Probation"
}
]
}
],
"Good Motions": [],
"cause_number_redacted": "871239500b7fe2fd"
}
1 change: 0 additions & 1 deletion resources/test_files/hays_hidden_values.txt

This file was deleted.

Loading
Loading