Skip to content

Commit 5c09f41

Browse files
committed
more matching
Signed-off-by: John Seekins <john@robot-house.us>
1 parent e5e8ad6 commit 5c09f41

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

ice_scrapers/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ def repair_name(name: str, locality: str) -> Tuple[str, bool]:
197197
{"match": "ETOWAH COUNTY JAIL (ALABAMA)", "replace": "ETOWAH COUNTY JAIL", "locality": "GADSDEN"},
198198
{"match": "BURLEIGH COUNTY", "replace": "BURLEIGH COUNTY JAIL", "locality": "BISMARCK"},
199199
{"match": "NELSON COLEMAN CORRECTION", "replace": "NELSON COLEMAN CORRECTIONS CENTER", "locality": "KILLONA"},
200+
{
201+
"match": "CIMMARRON CORRECTIONAL FACILITY",
202+
"replace": "CIMARRON CORRECTIONAL FACILITY",
203+
"locality": "CUSHING",
204+
},
200205
]
201206
cleaned = False
202207
for m in matches:

ice_scrapers/vera_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ def _vera_name_fixes(name: str, city: str) -> Tuple[str, bool]:
183183
{"match": "Montgomery County Jail", "replace": "Montgomery Ice Processing Center", "city": "Conroe"},
184184
{"match": "Sebastian County Det Cnt", "replace": "Sebastian County Detention Center", "city": "Smith"},
185185
{"match": "Atlanta U.S. Pen.", "replace": "FCI Atlanta", "city": "Atlanta"},
186-
{"match": "Clinton County Corr. Fac.", "replace": "Clinton County Correctional Facility", "city": "McElhattan"},
186+
{"match": "Clinton County Corr. Fac.", "replace": "Clinton County Correctional Facility", "city": "Mcelhattan"},
187+
{"match": "Freeborn County Jail, MN", "replace": "Freeborn County Adult Detention", "city": "Albert Lea"},
187188
]
188189
fixed = False
189190
for m in matches:

0 commit comments

Comments
 (0)