This repository performs exploratory analysis of immigration enforcement data obtained via FOIA by the Deportation Data Project. Results of scripts and notebooks in this repository should be considered preliminary and interpreted with caution. This repository is not affiliated with the Deportation Data Project.
This analysis follows that performed on data obtained by UWCHR and analyzed in https://github.com/uwchr/ice-enforce and https://github.com/UWCHR/ice-detain; for more information see associated notebooks at https://uwchr.github.io/ice-enforce/ and https://uwchr.github.io/ice-detain/.
Large files are excluded from this repository. Data for this repository can be downloaded via https://deportationdata.org/data.html; and via the associated UWCHR repositories linked above.
To execute tasks in this repository, first download the data files linked above and ensure they are stored in the indicated directory within the Git respository: original datasets are stored in import/input/ (we recommend renaming these files to replace space characters with underscores).
This project uses "Principled Data Processing" techniques and tools developed by @HRDAG; see for example "The Task Is A Quantum of Workflow."
The repository is divided into separate tasks which follow a regular structure; tasks are linked using symlinks and scripts are executed via Makefiles.
import/- Contains original Deportation Data Project Excel files inimport/input/detain-concat/- Concatenates individual Excel sheets for June 2025 detenion data, performs basic cleaning and parsingdetain-unique-stays/- Generates additional placement and stay-level analysis fields in detentions datadetain-headcount/- Calculates daily detention headcount by given characteristicanalyze/- Contains various analysis and prototyping notebooks
- Document repository setup and task flow in code (e.g., rename import datasets, create downstream symlinks and folders not included in Git repo, etc.)
- Dataset import/cleaning/pre-analysis tasks analogous to those for detentions data
- Set up tasks for publishing descriptive analysis notebooks.