← All datasets

Lighthouses

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 1 file last pulled 2026-11-24
Source: Wikipedia
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Why does Michigan have more lighthouses than Maine? Map them.
  • When did lighthouse construction peak, and what killed it?
  • Which decade automated the most lights?
US Lighthouses 1,012 rows × 10 columns
LighthouseStateLocationLatitudeLongitudeYear_First_LitYear_AutomatedYear_DeactivatedStatusFocal_Height_Ft

Questions and answers

What is the Lighthouses dataset?

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.

How big is the Lighthouses dataset?

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.

Where does the data come from?

It is built by programmatically scraping en.wikipedia.org, last pulled on 2026-11-24. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

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.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

Can the data contain errors?

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.

Browse every free dataset on CodeSights