This PR fixes three parsing issues in funcs_parse.py:
Charge descriptions and statute numbers are no longer incorrectly concatenated (issue 57)
All charges are now returned. Previously, if charges appeared on multiple pages, only the last page of charges was returned.
The bail_set_by category now always returns the name corresponding to the first court document entry containing the word "bail," which should always correspond to the magistrate setting (or denying) bail. Previously, the last instance "bail" in the entries was used, which returned the wrong name when bail was posted.
This PR fixes three parsing issues in
funcs_parse.py
:There is also some additional refactoring.