=== versions === python 3.12.0 | duckdb 1.5.6 | geopandas 1.2.0 | shapely 2.2.0 | scipy 1.18.1 | numpy 2.5.5 | pandas 3.1.1 === Step 1: census tracts, households and income (ACS 2019-2023) === 192 tracts | 761,664 people | 317,069 households | median of tract median incomes $65,033 === Step 2: road network from Overture Maps === 83,834 road segments -> 139,842 junctions and 177,041 edges; the largest connected network holds 99.8% of junctions === Step 3: demand on the network === 317,069 households placed on 67,159 junctions (100.0% of the tracts' total) === Step 4: large grocery and general-merchandise stores === 76 chain listings -> 52 stores with a building of more than 2,500 m2 stores median_floor_m2 fmt Albertsons 12 6783.0 Costco 3 14808.0 Sam's Club 3 12482.0 Smith's 8 6670.0 Sprouts 6 5627.0 Target 5 11580.0 Walmart Neighborhood Market 7 3964.0 Walmart Supercenter 6 19882.0 Whole Foods 2 3856.0 San Mateo Blvd SE (closed 2023): building 19,926 m2 === Step 5: drive-time catchments === 5-minute catchment of the Supercenter at 35.1120, -106.6079: 23,036 households 10-minute catchment of the Supercenter at 35.1120, -106.6079: 138,991 households 15-minute catchment of the Supercenter at 35.1120, -106.6079: 233,180 households 918 candidate sites (one per 500 m cell on trunk, primary and secondary roads in built-up tracts) === Step 6: weighted-overlay suitability === mean min 50% max hh10 8.473591e+04 2.886600e+03 8.181900e+04 1.580743e+05 spend10 5.649686e+09 2.070025e+08 5.622091e+09 9.895790e+09 gap 2.860000e+00 2.400000e-01 2.420000e+00 1.160000e+01 access 8.000000e-01 7.000000e-01 7.000000e-01 1.000000e+00 huff 8.370255e+08 1.902942e+08 8.721131e+08 1.085048e+09 score 5.000000e-01 1.400000e-01 4.900000e-01 8.400000e-01 existing Supercenters on households and spending within 10 minutes: median percentile 72% (range 7%-88%, 67% in the top half) === Step 7: Huff model - spending a new Supercenter would capture === lat lon hh10 gap score huff_$m share_of_metro 35.104 -106.671 142579.171 3.023 0.822 1085.0 0.047 35.174 -106.542 73901.266 0.616 0.430 1077.0 0.046 35.209 -106.701 56170.986 3.149 0.460 1067.0 0.046 35.181 -106.675 84275.051 1.335 0.548 1058.0 0.045 35.104 -106.705 116716.240 1.697 0.668 1052.0 0.045 metro aggregate household income $23.3bn | correlation between overlay score and Huff capture across candidates: 0.44 === Step 8: replaying 2022 with the San Mateo store === where name floor_m2 hh10 inc10 huff_$m per_m2 0 35.111, -106.701 Walmart 22676.5 100208.1 62434.1 1121.3 49447.7 1 35.243, -106.699 Walmart 20948.4 44822.5 83254.5 1016.6 48528.2 2 35.112, -106.608 Walmart Albuquerque - Carlisle Blvd NE 19909.9 138991.4 56662.7 814.1 40891.6 3 35.079, -106.530 Walmart Albuquerque - Eubank Blvd NE 19464.1 121105.6 61992.4 772.4 39682.0 4 35.107, -106.549 Walmart Albuquerque - Wyoming Blvd NE 19655.4 128361.0 64688.5 751.9 38255.7 5 35.076, -106.588 Walmart (San Mateo Blvd SE, closed 2023) 19925.9 96335.8 52674.5 722.7 36270.9 6 35.026, -106.711 Walmart Albuquerque - Coors Blvd SW 19853.7 38610.1 58012.2 570.1 28713.6 San Mateo ranked 6 of 7 Supercenters on modelled spending per m2 of store === Step 9: figures === saved: demand_and_stores.png, drive_time_catchments.png, huff_2022_supercenters.png, suitability_and_huff.png