How to Read USDA's SNAP Retailer Locations in Python
On this page
Problem statement
Loading the USDA's SNAP retailer CSV into pandas takes one line; getting columns that join to anything takes a few more. The Record_ID is the only reliable key, ZIP codes must be read as text or New England's lose their leading zero, the county is an upper-case name with no FIPS code, and the latitude and longitude need turning into points before any spatial work. This page reads the file with the right types, checks each of those columns on the 28 October 2026 copy, builds a GeoDataFrame, and counts the rows by state and by name as a first look.
Quick answer
Read the CSV with the ZIP columns as text, then look at three rows and the store types:
print(snap[["Record_ID", "Store_Name", "City", "State", "County", "Store_Type", "Latitude", "Longitude"]].head(3).to_string(index=False))
print(snap.Store_Type.value_counts().to_string())
Record_ID Store_Name City State County Store_Type Latitude Longitude
896820 Mi Casa Bakery Corp Bronx NY BRONX Convenience Store 40.872795 -73.888954
1713326 Costco Wholesale 0332 Pittsburgh PA ALLEGHENY Super Store 40.459522 -80.165230
1498641 Racetrack LLC Bethlehem PA NORTHAMPTON Convenience Store 40.645466 -75.362221
Store_Type
Convenience Store 108848
Other 57401
Grocery Store 21176
Super Store 20761
Supermarket 19690
Restaurant Meals Program 8477
Farmers and Markets 7119
Specialty Store 5400
Each row is one store, from a Bronx bakery to a Costco in Pittsburgh. The USDA puts it in one of eight store types, and the type it chose is not always the one the name suggests: Mi Casa Bakery Corp is listed as a convenience store. Convenience stores are the largest group, 108,848. Next comes "Other", 57,401, which holds pharmacies and dollar stores. Supermarkets and super stores, 19,690 and 20,761, are fewer than a fifth of the list together.
Reading the retailer file's columns
1. Ids, ZIP codes and counties
print(f"Record_ID unique: {snap.Record_ID.is_unique}; ZIP lengths {snap.Zip_Code.str.len().value_counts().to_dict()}; no ZIP+4: {snap.Zip4.isna().sum():,}")
print(snap.County.head(4).tolist())
Record_ID unique: True; ZIP lengths {5: 248872}; no ZIP+4: 0
['BRONX', 'ALLEGHENY', 'NORTHAMPTON', 'HOWARD']
Record_ID is unique, so it is the key to keep. Every ZIP code is five characters because the column was read as text; read as a number, the New England and New Jersey codes would lose their leading zero. The ZIP+4 column is never empty. The county is an upper-case name, BRONX or ALLEGHENY, with no FIPS code, so joining it to census tables takes a name match or a spatial join (county names that do not join).
2. States and territories
print(f"state values: {snap.State.nunique()}")
print(snap.State.value_counts().tail(6).to_dict())
state values: 53
{'ND': 539, 'AK': 493, 'WY': 398, 'DC': 389, 'GU': 230, 'VI': 88}
The 53 state values are the 50 states, the District of Columbia, Guam and the US Virgin Islands. Puerto Rico is not among them: it gets a nutrition block grant of its own, not SNAP. The smallest are North Dakota with 539 retailers, Alaska 493 and Wyoming 398, then DC, Guam and the Virgin Islands.
3. Points
g = gpd.GeoDataFrame(snap, geometry=gpd.points_from_xy(snap.Longitude, snap.Latitude), crs=4326)
print(f"no coordinates: {snap.Latitude.isna().sum()}; bounds: {g.total_bounds.round(2).tolist()}")
shared = snap.groupby(["Latitude", "Longitude"]).size()
print(f"positions shared by 2+ stores: {(shared > 1).sum():,}; most at one point: {shared.max()}")
no coordinates: 0; bounds: [-171.69, 13.26, 144.93, 71.3]
positions shared by 2+ stores: 2,223; most at one point: 11
Every row has a latitude and longitude. The bounds run from western Alaska to Guam (longitude 144.93) and north to 71.3Β°, the Alaskan Arctic. 2,223 positions are shared by two stores or more, at most 11 at one point. That happens in a market hall or a shopping centre, or when several addresses were geocoded to the same spot, and it matters for distance work: duplicate points are not separate stores.
4. Programmes
print(snap.Incentive_Program.value_counts(dropna=False).to_dict())
print(f"with a grantee name: {snap.Grantee_Name.notna().sum():,}")
{nan: 248793, 'Waiver': 79}
with a grantee name: 1,284
Incentive_Program is almost empty: one value, Waiver, on 79 records. Grantee_Name is more useful. It is filled for 1,284 retailers and names the organisation running a nutrition incentive that the store takes part in, mostly at farmers markets (farmers markets that take SNAP).
Retailers by state and by name
The data used on this page
The US Department of Agriculture's Food and Nutrition Service (FNS) publishes every store authorised to accept SNAP benefits as the SNAP Retailer Locator data. The copy used here was downloaded from the FNS feature service on 28 October 2026 and saved on this site, because the list changes every day as stores are authorised and withdrawn. Public domain.
from pathlib import Path
import zipfile
import geopandas as gpd
import numpy as np
import pandas as pd
import requests
Path("data").mkdir(exist_ok=True)
# USDA FNS SNAP Retailer Locator data (every authorised retailer), with the Census Bureau's 2024 county estimates,
# 2020 tract centres of population, counties and states. Saved 28 October 2026: the list changes every day as
# stores are authorised and withdrawn.
# Live: https://services1.arcgis.com/RLQu0rK7h4kbsBq5/arcgis/rest/services/snap_retailer_location_data/FeatureServer/0
ARCHIVE = "usda-snap-retailers-2026-10-28.zip"
if not Path(f"data/{ARCHIVE}").exists():
Path(f"data/{ARCHIVE}").write_bytes(requests.get(f"https://data.spatialworkflow.io/{ARCHIVE}", timeout=600).content)
Z = zipfile.ZipFile(f"data/{ARCHIVE}")
for f in ["cb_2024_us_county_20m.zip", "cb_2024_us_state_20m.zip"]:
Path(f"data/{f}").write_bytes(Z.read(f))
snap = pd.read_csv(Z.open("snap-retailers-2026-10-28.csv"), dtype={"Zip_Code": str, "Zip4": str})
print(f"SNAP retailers: {len(snap):,}")
SNAP retailers: 248,872
Example 1: retailers by state
print(snap.State.value_counts().head(8).to_string())
State
CA 29867
TX 20280
NY 16015
FL 14033
PA 9487
MI 9425
OH 9392
GA 9069
California has the most retailers, 29,867, then Texas with 20,280, New York, Florida and Pennsylvania. These are counts, not rates: they follow population, and comparing states or counties fairly needs residents in the denominator (retailers by county).
Example 2: the commonest store names
print(snap.Store_Name.str.replace(r"\s*#?\s*\d+\s*$", "", regex=True).str.strip().str.title().value_counts().head(8).to_string())
Store_Name
Dollar General 20712
Dollartree 9199
Walgreens 7095
Family Dollar 7018
Cvs Pharmacy 5369
Circle K 4615
Speedway 2541
Aldi 2022
With trailing store numbers stripped, Dollar General is the commonest name, 20,712. Dollar Tree comes second, written as one word, Dollartree, 9,199 times, then Walgreens and Family Dollar. A pattern this simple undercounts: "Walmart Supercenter" and "Walmart" stay separate, and a name with a number in the middle keeps it. The chain-name page counts them properly.
Internal links
- SNAP's retailer list explained β the store types, and who is in the list
- SNAP retailers by county β the list per resident on a map
- Chain names with store numbers β counting Walmart when it is written six ways
- County names that do not join β why the County field needs a spatial join instead