Adding a few more things to scrape from dockets
Closed this issue · 1 comments
Spoke with Malik this morning and he mentioned wanting to capture a few more pieces of information from dockets. Here is the piece of information and where to find it in the docket
-
Bail Amount Set
Bail Information -> Bail Action = set -> Amount column. In some cases, like the example docket below, this may change over the course of a docket We want the most recent one. -
Zip Code
Defendant Information -> City/State/Zip (can just be zip) -
Offense Date
In the charges section, each charge has an "Offense Dt." Malik thinks that is always the same in every docket, so we can just take the date associated with the first charge. -
Bail Amount Paid
If "Posted" under "Bail Posting Status" in the Bail Information section (like in the attached docket), we want to take 10% of the last number listed in amount. In this example docket, the bail was set at a certain amount, then decreased significantly to $15,000. The amount the person paid bail would be $1500 in that case.
Berta coded this but hasn't merged yet