Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.35 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.35 KB

Complaints against SFPD Closed by the Department of Public Accountability

DPA report home

  • the closed complaint data is publically available in the form of a monthly report (pdf)
  • the collection of monthly reports can be scraped from where they are posted on the current sf.gov website as well as the previous, archived version
  • the current sf.gov website contains reports for 2021 - present
  • the archived version of the site contains reports for 1998 - 2020 in full, and part of 2021 records. Note that some of the older reports were written by OCC, not DPA, and the format of the published report changes in this timeline as well. So, more recent records are the priority.
  • to collect the available data, both sources are scraped and relevant pdfs are downloaded blindly with their uploaded filename preserved

Regarding the actual data,

  • One downloaded pdf contains many sets of pages representing at least one allegation from a complainant(s) per set
  • Each allegation in a set has its own facts and findings but shares a completed date

On every page:

  • Report header, "DEPARTMENT OF POLICE ACCOUNTABILITY\nCOMPLAINT SUMMARY REPORT"
  • DATE OF COMPLAINT
  • DATE OF COMPLETION
  • PAGE# K of N

On every complainant set:

  • SUMMARY OF ALLEGATION #I
  • CATEGORY OF CONDUCT
  • FINDING
  • FINDINGS OF FACT

more to follow