US lighthouses in one free CSV download: 1,012 lights across 30 coastal and Great Lakes states, one row per lighthouse, built by walking Wikipedia's state-by-state lighthouse lists and reconciling their varied table formats. Rows carry the state and location, coordinates, year first lit (the record reaches back to 1749, with 10-plus colonial-era lights and Boston Light anchoring Massachusetts), the year the Coast Guard automated it (over 80 percent of recorded automations fall 1930-2000, the century the keepers vanished), year deactivated, an Active, Deactivated or Gone status, and focal height in feet. The surprise champion verifies by test: Michigan, not Maine, is America's lighthouse state with 140-plus lights strung along the Great Lakes, with Maine and Massachusetts following. A handful of small-state lists redirect to combined pages and are handled or skipped honestly rather than double-counted. Joins Shipwrecks (the lights exist because of the wrecks), Bridges and the coastal geography cluster. Nine acceptance tests, one enforcing the 25 percent fill rule on every column.
1,012 rows in one CSV file, with 10 columns in total: Lighthouse, State, Location, Latitude, Longitude, Year_First_Lit, Year_Automated, Year_Deactivated, Status, Focal_Height_Ft.
It is built by programmatically scraping en.wikipedia.org, last pulled on 2026-11-24. Datasets are versioned; older versions stay downloadable.
Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.
Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.
Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.