|
4 | 4 | may call them |
5 | 5 | """ |
6 | 6 |
|
7 | | -# extracted ADP sheet header list 2025-09-07 |
8 | | -facility_sheet_header = [ |
9 | | - "Name", |
10 | | - "Address", |
11 | | - "City", |
12 | | - "State", |
13 | | - "Zip", |
14 | | - "AOR", |
15 | | - "Type Detailed", |
16 | | - "Male/Female", |
17 | | - "FY25 ALOS", |
18 | | - "Level A", |
19 | | - "Level B", |
20 | | - "Level C", |
21 | | - "Level D", |
22 | | - "Male Crim", |
23 | | - "Male Non-Crim", |
24 | | - "Female Crim", |
25 | | - "Female Non-Crim", |
26 | | - "ICE Threat Level 1", |
27 | | - "ICE Threat Level 2", |
28 | | - "ICE Threat Level 3", |
29 | | - "No ICE Threat Level", |
30 | | - "Mandatory", |
31 | | - "Guaranteed Minimum", |
32 | | - "Last Inspection Type", |
33 | | - "Last Inspection End Date", |
34 | | - "Pending FY25 Inspection", |
35 | | - "Last Inspection Standard", |
36 | | - "Last Final Rating", |
37 | | -] |
38 | | - |
39 | 7 | ice_inspection_types = { |
40 | 8 | # found in https://www.ice.gov/foia/odo-facility-inspections |
41 | 9 | "ODO": "Office of Detention Oversight", |
42 | 10 | # found in https://ia803100.us.archive.org/16/items/6213032-ORSA-MOU-ICE/6213032-ORSA-MOU-ICE_text.pdf |
43 | 11 | "ORSA": "Operational Review Self-Assessment", |
44 | 12 | } |
45 | 13 |
|
| 14 | +# extracted from https://vera-institute.files.svdcdn.com/production/downloads/dashboard_appendix.pdf 2025-09-23 |
| 15 | +ice_facility_group_mapping = { |
| 16 | + "Non-Dedicated": ["IGSA"], |
| 17 | + "Dedicated": ["DIGSA", "CDF", "SPC"], |
| 18 | + "Federal": ["BOF", "USMSIGA", "USMS IGA", "USMS CDF", "DOD", "MOC"], |
| 19 | + "Hold/Staging": ["Hold", "Staging"], |
| 20 | + "Family/Youth": ["Family", "Juvenile", "FAMILY"], |
| 21 | + "Medical": ["Hospital"], |
| 22 | + "Hotel": ["Hotel"], |
| 23 | + "Other/Unknown": ["Other", "Unknown", "Pending"], |
| 24 | +} |
| 25 | + |
46 | 26 | # extracted from https://www.ice.gov/doclib/detention/FY25_detentionStats08292025.xlsx 2025-09-07 |
47 | 27 | ice_facility_types = { |
48 | 28 | "BOP": { |
49 | 29 | "expanded_name": "Federal Bureau of Prisons", |
50 | 30 | "description": "A facility operated by the Federal Bureau of Prisons", |
51 | 31 | }, |
| 32 | + "CDF": { |
| 33 | + "expanded_name": "Contract Detention Facility", |
| 34 | + "description": "Name derived from listing at https://www.vera.org/ice-detention-trends", |
| 35 | + }, |
52 | 36 | "DIGSA": { |
53 | 37 | "expanded_name": "Dedicated Intergovernmental Service Agreement", |
54 | 38 | "description": "A publicly-owned facility operated by state/local government(s), or private contractors, in which ICE contracts to use all bed space via a Dedicated Intergovernmental Service Agreement; or facilities used by ICE pursuant to Intergovernmental Service Agreements, which house only ICE detainees – typically these are operated by private contractors pursuant to their agreements with local governments.", |
55 | 39 | }, |
56 | 40 | "DOD": { |
57 | 41 | "expanded_name": "Department of Defense", |
58 | | - "description": "Military facility", |
| 42 | + "description": "Department of Defence facilities - Often Army bases", |
| 43 | + }, |
| 44 | + "FAMILY": { |
| 45 | + "expanded_name": "Family", |
| 46 | + "description": "A facility in which families are able to remain together while awaiting their proceedings", |
| 47 | + }, |
| 48 | + "Family": { |
| 49 | + "expanded_name": "Family", |
| 50 | + "description": "A facility in which families are able to remain together while awaiting their proceedings", |
| 51 | + }, |
| 52 | + "Hospital": { |
| 53 | + "expanded_name": "Hospital", |
| 54 | + "description": "A medical facility", |
59 | 55 | }, |
60 | 56 | "IGSA": { |
61 | 57 | "expanded_name": "Intergovernmental Service Agreement", |
62 | 58 | "description": "A publicly-owned facility operated by state/local government(s), or private contractors, in which ICE contracts for bed space via an Intergovernmental Service Agreement; or local jails used by ICE pursuant to Intergovernmental Service Agreements, which house both ICE and non-ICE detainees, typically county prisoners awaiting trial or serving short sentences, but sometimes also USMS prisoners.", |
63 | 59 | }, |
| 60 | + "Juvenile": { |
| 61 | + "expanded_name": "Juvenile", |
| 62 | + "description": "An IGSA facility capable of housing juveniles (separate from adults) for a temporary period of time", |
| 63 | + }, |
| 64 | + "Other": { |
| 65 | + "expanded_name": "Other", |
| 66 | + "description": "Facilities including but not limited to transportation-related facilities, hotels, and/or other facilities", |
| 67 | + }, |
64 | 68 | "SPC": { |
65 | 69 | "expanded_name": "Service Processing Center", |
66 | 70 | "description": "A facility owned by the government and staffed by a combination of federal and contract employees.", |
67 | 71 | }, |
| 72 | + "Unknown": { |
| 73 | + "expanded_name": "Unknown", |
| 74 | + "description": "A facility whose type could not be identified", |
| 75 | + }, |
68 | 76 | "USMS": { |
69 | 77 | "expanded_name": "United States Marshals Service", |
70 | 78 | "description": "A facility primarily contracted with the USMS for housing of USMS detainees, in which ICE contracts with the USMS for bed space.", |
|
82 | 90 | "expanded_name": "United States Marshals Service Contract Detention Facility", |
83 | 91 | "description": "Name derived from listing at https://www.vera.org/ice-detention-trends", |
84 | 92 | }, |
85 | | - "CDF": { |
86 | | - "expanded_name": "Contract Detention Facility", |
87 | | - "description": "Name derived from listing at https://www.vera.org/ice-detention-trends", |
88 | | - }, |
89 | 93 | "Staging": { |
90 | 94 | "description": "Some facilities in the ICE spreadsheet are marked 'Staging'. Hard to determine why.", |
91 | 95 | "expanded_name": "Staging", |
|
131 | 135 | repair_locality, # noqa: F401 |
132 | 136 | repair_street, # noqa: F401 |
133 | 137 | repair_zip, # noqa: F401 |
| 138 | + repair_name, # noqa: F401 |
134 | 139 | special_facilities, # noqa: F401 |
135 | 140 | update_facility, # noqa: F401 |
136 | 141 | ) |
|
0 commit comments