Compare pedestrian counts near retail addresses
Find the measured block, compare equivalent weekday and Saturday windows, and retain the evidence behind each count.
To compare foot traffic near two retail addresses, match each storefront to a relevant count location and compare the same days and hours. A city pedestrian count measures passages across a line on the block during the recorded window. Keep that location and window with the count when you compare sites.
In New York City's September 2026 campaign, Sixth Avenue had more pedestrian passages per hour on weekday afternoons between 50th and 51st Streets. Fifth Avenue had more on Saturday midday. The result changes with the trading hours you care about.
Match the storefront to the measured block
Resolve the street address with Invariant Earth, then check where the entrance sits. Open the NYC DOT count locations and confirm the street, cross streets and point on the map. A nearby count across a major intersection or beside a subway entrance can represent a different flow. In New York City, the published method measures mid-block across both sidewalks. For a frontage decision, collect side-specific counts at the actual entrance.
Retrieve the source counts
This request fetches three NYC DOT locations. Locations 65 and 66 are the two Midtown blocks. Location 26 on Jay Street lets you check how the source represents a block without a published count in these windows.
curl --fail-with-body --silent --show-error --retry 2 --max-time 20 --get \
'https://data.cityofnewyork.us/resource/cqsj-cfgu.json' \
--data-urlencode '$select=loc,borough,street_nam,from_stree,to_street,the_geom,may26_am,may26_pm,may26_md,sept26_am,sept26_pm,sept26_md' \
--data-urlencode "\$where=loc in ('26','65','66')" \
--data-urlencode '$order=loc' \
--data-urlencode '$limit=100' \
--output pedestrian-counts.json
The fields with _am cover two weekday morning hours, _pm covers three weekday afternoon hours, and _md covers two Saturday midday hours. The publisher uses a zero for a window where no data was collected. An absent field has no published value. Preserve both states explicitly.
import json
from pathlib import Path
rows = json.loads(Path("pedestrian-counts.json").read_text())
windows = {"am": 2, "pm": 3, "md": 2}
for row in rows:
print(row["loc"], row["street_nam"])
for month in ("may26", "sept26"):
for window, hours in windows.items():
field = f"{month}_{window}"
raw = row.get(field)
if raw is None:
print(f" {field}: unpublished")
elif int(raw) == 0:
print(f" {field}: no count collected")
else:
print(f" {field}: {int(raw) / hours:,.1f} passages/hour")
Compare the hours that matter to the store
The table shows the selected September records checked November 25, 2026. Rates are averages over each observed window, rounded to one decimal place.
| Local observation window | Fifth Avenue (65) | Sixth Avenue (66) |
|---|---|---|
| Weekday, 7 to 9 a.m. | 1,606.0 per hour | 2,714.0 per hour |
| Weekday, 4 to 7 p.m. | 4,249.0 per hour | 4,641.7 per hour |
| Saturday, noon to 2 p.m. | 8,632.0 per hour | 4,909.0 per hour |
Fifth Avenue's Saturday record was 17,264 passages over two hours. Sixth Avenue's weekday afternoon record was 13,925 over three hours. Compare Saturday with Saturday and weekday afternoons with weekday afternoons. Keep Jay Street's six missing May and September values blank. The fields identify the campaign month. Preserve the exact observation date as unknown where the source does not supply it.
Use the count in a retail shortlist
- Set the comparison window from your operating hours. Compare equivalent windows across stores. Repeat counts at the actual entrances during the hours that affect the decision and record nearby construction, closures or events.
- Keep market reach and pedestrian flow as separate measures. Use drive-time demographics to compare reachable residents and the walkability field for neighborhood context. Use street counts for measured passages and door counters or sales data for store visits and conversion.
- Save the source record with the decision. Retain the location ID, block, campaign, raw count, hours, retrieval date and missing-value status. Keep each campaign as a dated observation so a missing later window cannot overwrite a historical count.