Note: The immigration facilities will all have ICE in their name (handled in the scraper code).
[x] Add Jurisdiction back to fac_spellings 🙃
[x] Generate Facility.ID based on jurisdiction
Jurisdiction
Merging variables
federal
Name + Jurisdiction
immigration
Name + Jurisdiction
county
Name + Jurisdiction + State
state
Name + Jurisdiction + State
[x] Add rows where xwalk_name_clean == xwalk_name_raw for all rows in fac_data to fac_spellings
[ ] Streamline barstools::clean_facility_name() and barstools::merge_facility_info()? In theory, we should trust the IDs in the crosswalks, and then exclusively merge on IDs in all other places (rather than deal with the complicated / multi-step jurisdiction merges in several places).
[x] Update documentation (e.g. include immigration as a jurisdiction, etc.)
Note: The immigration facilities will all have ICE in their name (handled in the scraper code).
Jurisdiction
back tofac_spellings
🙃Facility.ID
based on jurisdictionfederal
Name
+Jurisdiction
immigration
Name
+Jurisdiction
county
Name
+Jurisdiction
+State
state
Name
+Jurisdiction
+State
xwalk_name_clean == xwalk_name_raw
for all rows infac_data
tofac_spellings
barstools::clean_facility_name()
andbarstools::merge_facility_info()
? In theory, we should trust the IDs in the crosswalks, and then exclusively merge on IDs in all other places (rather than deal with the complicated / multi-step jurisdiction merges in several places).immigration
as a jurisdiction, etc.)