CodeForPhilly / pbf-scraping

Project for Philadelphia Bail Fund to scrape new criminal filings from municipal court
https://codeforphilly.github.io/pbf-scraping
10 stars 4 forks source link

One way to address the need for court summary info (issue 37) #59

Closed notchia closed 3 years ago

notchia commented 3 years ago

In download.py, since we can retrieve the information from both the court summary file and the docket file corresponding to the docket number at the same time, we could merge the dictionaries containing the parsed court summary and docket data for a single docket number and return that as our entry for a docket. Then only a single .csv file is created, which has both the original docket info and sex+race already linked together to the same docket number. It seems to me that it would streamline our analysis process down the line, versus having information in two separate S3 buckets that we have to stitch together in the analysis phase.