Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Annual inspection records for U.S. highway bridges for building deficient-bridge maps and local infrastructure scorecards.
From source to product signal
FHWA publishes annual National Bridge Inventory extracts as delimited state files. Start with one small jurisdiction and the documented field format. Inspection ratings are not a live closure feed, and the yearly filename changes with each inventory.
Install the packages, then run the notebook cell.
python -m pip install pandas
import pandas as pd
bridges = pd.read_csv(
"https://www.fhwa.dot.gov/bridge/nbi/2025/delimited/DC25.txt",
dtype=str,
quotechar="'",
)
bridges["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(bridges.head())Test a useful signal
Test whether annual inspection ratings can support a local infrastructure watch list.
Federal Highway Administration is a government source. Last verified 2026-08-17. Temporal coverage: annual inventories submitted each spring.