Skip to content

Instantly share code, notes, and snippets.

View b-meson's full-sized avatar

Freddy Martinez b-meson

  • Chicago
View GitHub Profile
b_meson [3:22 PM]
I'm basically splitting the documents here: https://github.com/freddymartinez9/miscfoiamirror/tree/master/1505depositsanalysis and then doing a manual OCR on each document to get a text file out of them and then doing a side by side of the pdf and the text file to get an average expenditure
(yes they say deposits but its really an outgoing expense)
so there is a python program here checkreduction.py that has these two lines
```foia_response = '1505deposists1.49.pdf'
png_response = '1505deposists1.49.png'
````
where it reads those two files in and spits out a text file that is just the expenses which we have to compared side by side by to the PDF.
@b-meson
b-meson / gist:361feeb689d88e3c4818
Created January 15, 2016 00:09
How to FOIA CPD for deadly OIS
Here are some basic steps to take when a CPD officer shoots and kill someone, and how to gather enough information.
- Identify the District.
Chicago is broken up into Districts and ach police district is divided into 3 sectors.
Each sector is further divided into 3 to 5 beats. For example, 712 would be District 7, sector 1 and beat 2.
https://portal.chicagopolice.org/portal/page/portal/ClearPath/Get%20Involved/How%20CAPS%20works/KnowYourDistrict
You can use that information, and an address to cross reference to make sure it is accurate. I used the Invisible Institute's
database on police misconduct complaints.