Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Census Bureau table-based ACS estimate and margin files for building tract and county housing-context tools.
Report a ProblemFrom Source to Product Signal
The 2024 table-based Summary File publishes each detailed table as a pipe-delimited .dat file with estimates and margins. HouseHunter pins B25034, B25035, B25103, B25077, and B08303. Start with one bounded read of B25103; a table value is a survey estimate, and a GEO_ID must be joined to its geography label.
Install the packages, then run the notebook cell.
python -m pip install requests
import csv
import io
import requests
url = ("https://www2.census.gov/programs-surveys/acs/summary_file/2024/"
"table-based-SF/data/5YRData/acsdt5y2024-b25103.dat")
response = requests.get(url, headers={"Range": "bytes=0-2047"}, timeout=30)
response.raise_for_status()
lines = response.text.splitlines()
rows = csv.DictReader(io.StringIO("\n".join(lines[:-1])), delimiter="|")
for row in list(rows)[:2]:
print(row["GEO_ID"], row["B25103_E001"], row["B25103_M001"])Test a Useful Signal
Compare a small set of housing estimates with their margins of error.
U.S. Census Bureau is a government source. Last verified 2026-09-28. Temporal coverage: 2020-2024 ACS five-year estimates.