Substance Abuse Recovery Services in San Francisco– A Network Analysis Approach
by Heather Robbins
by Heather Robbins
Substance use disorders continue to disproportionately impact vulnerable populations, particularly in urban areas where systemic inequities limit access to care. In San Francisco, treatment and recovery services are vital yet unevenly accessible across neighborhoods. Through a network analysis, this project will provide insights in spatial accessibility to recovery centers, focusing on communities identified as vulnerable through the Healthy Places Index (HPI).
Using ArcGIS Pro’s Network Analysis tools, this study will attempt to answer three key questions:
Which vulnerable communities are the furthest from substance abuse recovery centers?
How many vulnerable neighborhoods are outside of a 10-minute walking distance?
Where is the best location to add a new recovery center to improve access for vulnerable populations currently without immediate services?
San Francisco is a densely populated urban center with over 800,000 residents and ongoing challenges related to poverty, homelessness, and drug use. Between November 2024 and February 2025, 209 unintentional drug overdose deaths were reported (SF.gov, n.d.).
To evaluate vulnerability, this project uses the California Healthy Places Index (HPI), which offers census tract–level data on social determinants of health. Although direct data on substance use disorders is limited, HPI scores are used as a proxy to highlight potentially at-risk neighborhoods.
The San Francisco Transportation Network Dataset, used for travel routing, is sourced from Esri’s Network Analysis training materials.
Substance Use Disorder (SUD) Provider Locations were obtained from Open SF Data (updated April 7, 2025). For this analysis, only facilities categorized as Opioid Treatment Programs & Medications for Opioid Use Disorder (MOUD) were included.
Healthy Places Index (census tract polygons) in San Francisco are selected using the Select by Attributes tool, where COUNTY = 075 and exported as a new shapefile. Polygons are then projected to align with the network dataset (WGS 1984) and then converted to centroid points using the Feature to Point tool. Initial review of the HPI data reveals that there are 196 points which may be overwhelming for network analysis. To focus on vulnerable communities, a selection of the lowest HPI scores are considered only, using another Select by Attributes (scores between -1.2 - 0) bringing the total number of neighborhoods to 29.
The addresses for current recovery center facilities are geocoded using the ArcGIS Geocoding service. Potential candidate facilities for optimal location analysis are hypothetical and for this analysis only.
All results are provided via the Network Analyst extension for ArcGIS Pro software. The provided network dataset (Transportation_ND) from Esri is in the WGS 1984 (WKID 4326) coordinate reference system.
To identify the closest substance use recovery centers to vulnerable communities, HPI-weighted census tract centroids were input as incidents, and known recovery centers were input as facilities. The Closest Facility tool was run using driving time as the travel mode, with the number of facilities set to 1. No cutoff value was applied. This configuration ensures each point connects to its nearest facility based on real-world travel routes. The resulting routes layer was used to determine which vulnerable communities are furthest from recovery centers.
To evaluate walkability, recovery facilities were used as input points in the Service Area tool. A cutoff of 1,000 meters was selected, based on common benchmarks for reasonable walking distances in urban areas. Since many vulnerable residents may not have access to a car, walking accessibility was prioritized. The resulting service areas help determine how many vulnerable communities fall within this walkable range.
The Location-Allocation tool was used to identify the best site to add a new facility to improve access for underserved communities. Demand points were represented by HPI-weighted census tract centroids, using a reclassified positive-value version of the HPI scores (original scores ranged from -1.2 to 0, and the tool does not accept negative weights).
The 11 existing recovery facilities were input as facilities, and several hypothetical candidate locations were digitized. The number of facilities was set to 12 so the tool could allocate one additional facility. Driving time was selected as the travel mode, and no cutoff was applied. The output reveals where an added facility would most improve accessibility for vulnerable populations.
The average drive time from vulnerable communities to the nearest recovery center is approximately 3 minutes, with the furthest being over 10 minutes from the Stones Town area. Treasure Island follows closely, with a drive time just over 8 minutes.
The facility located on Turk Street near downtown serves as the closest facility for 13 out of 29 vulnerable communities (approximately 45%), suggesting it may be disproportionately burdened.
When shifting from driving to walking distance, the analysis reveals that many vulnerable communities in western and southern San Francisco fall outside of the 1,000-meter service areas. In contrast, downtown neighborhoods remain well-served. Only 14 out of 29 communities (48%) are located within the 10-minute walking distance, indicating that over half of the most vulnerable areas lack walkable access to recovery services.
The optimal site for a new recovery center was identified in southern San Francisco, a location that aligns with findings from the service area analysis. This site would improve accessibility for underserved communities, including Stones Town, where drive time would be reduced from over 10 minutes to 8 minutes. This suggests that a strategically placed new facility could meaningfully reduce access barriers for outlying neighborhoods.
This analysis finds that while northeastern and downtown San Francisco are well-served by existing substance abuse recovery centers, gaps in access persist across southern and western neighborhoods. These disparities are especially concerning for residents without access to vehicles, highlighting the need for more walkable recovery services.
The Location-Allocation analysis suggests that adding a facility in southern San Francisco could significantly improve access for underserved communities. While this study focuses on publicly available facilities, it's important to note that many private recovery centers exist, though they may not be accessible to all due to restrictions on gender or cultural inclusion. Future studies could expand the scope to include these facilities and focus more closely on western neighborhoods.
Although HPI data served as a useful proxy for identifying vulnerable populations, it does not directly reflect substance use disorder. The lack of publicly available substance abuse data remains a limitation. If such data were made accessible, future analyses could be more targeted, comprehensive, and actionable.
Esri. (n.d.-a). Finding the closest facilities using ArcGIS Pro. Retrieved April 3, 2025, from https://www.esri.com/training/catalog/57eb07e1ee85c0f5204b5253/finding-the-closest-facilities-using-arcgis-pro/
Esri. (n.d.-b). Finding the optimal location of facilities using ArcGIS Pro. Retrieved April 3, 2025, from https://www.esri.com/training/catalog/57630433851d31e02a43eeef/finding-the-optimal-location-of-facilities-using-arcgis-pro/
Esri. (n.d.-c). Generating service areas using ArcGIS Pro. Retrieved April 3, 2025, from https://www.esri.com/training/catalog/57bcfdd581e455607e4a59aa/generating-service-areas-using-arcgis-pro/
Geospatial Analysis 7th Edition, 2024 - de Smith, Goodchild, Longley and Colleagues. (n.d.). https://spatialanalysisonline.com/HTML/index.html?introduction_and_terminology.htm
Preliminary unintentional drug overdose deaths | SF.gov. (n.d.). https://www.sf.gov/data--preliminary-unintentional-drug-overdose-deaths
Public Health Alliance of Southern California. (2022). California Healthy Places Index (HPI) [Dataset; Feature Service]. https://www.arcgis.com/home/item.html?id=7b44c2d2b9da46b19688f071d609566e
San Francisco Department of Public Health. (2024). Substance Use Disorder (SUD) Provider Directory - Site list [Dataset]. https://data.sfgov.org/Health-and-Social-Services/Substance-Use-Disorder-SUD-Provider-Directory-Site/i3eb-d76i/about_data