Skip to content

codefortulsa/ice-hold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts for researching ICE detainees in Tulsa

The Tulsa County Inmate Information Center website provides a page to scroll through a list of inmates. The dlm-inmates script retrieves all pages and also looks up inmate details. Inmates with an ICE hold are denoted by the 'TLS' number in their record.

The City Of Tulsa Jail Hub has information about inmates at the Tulsa City Jail for the past 90 days.

The CSV files created by these scripts includes a column to identify inmates on an ICE hold. The dlm-inmates file uses 'TLS' and includes a TLS record number. The tulsa_city_inmates file uses 'hold' and shows the last hold instructions on the inmates charges list.

Files

  • dlm-inmates.py: python script for saving iic.tulsacounty.org info to a csv
  • tulsa-jail.py: python script for saving www.cityoftulsa.org information
  • settings.py: details of the tulsa county url
  • _helpers.py: utilities for cleaning text
  • save_csv.py: function to validate columns and save data

Set up

  1. Create a Python 3.6.5 virtual env
  2. Clone this repo
  3. 'cd ice-hold'
  4. 'mkdir data' (this is ignored)
  5. 'pip install -r requirements.txt'

Usage

David L Moss Inmates:

  • 'python dlm-inmates.py'
  • creates a csv file in data/ called dlm_inmates.csv

City of Tulsa Jail:

  • 'python tulsa-jail.py'
  • creates a csv file in data/ called tulsa_city_inmates.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages