Mines & quarries

MSHA's Mine Data Set in Python: every US mine with its status, commodity and position, active mines by county, coal production and jobs since 2000, injury rates per hour worked, what injures miners, sand, gravel and stone quarries, and the coordinate, id and accident-code traps.

Bars of the coal mine injury rate per 200,000 hours worked: 8.18 in 2000, 4.36 in 2010, 3.36 in 2020 and 3.41 in 2025. safer by half, then no further2000201020202025MSHA: coal mine injuries per 200,000 hours worked

The Mine Safety and Health Administration registers every mine in the United States and publishes the register weekly: 92,090 mines, 12,099 of them working, each with its operator, commodity, type, county and position, alongside every mine's hours, employment and coal output each year since 2000 and every accident report. Most working mines are sand and gravel pits and stone quarries; 577 are coal mines.

The guides here read the register, explain what MSHA counts as a mine and how to get the data without code, map working mines by county, chart coal production and jobs since 2000, compute injury rates per hour worked, count what injures and kills miners and find the quarries. Three pages deal with the traps: positions missing for half the mines, ids and county codes that lose their zeros or their state, and accident rows that are not injuries.

🧭 Start with the concepts

The ideas the how-to guides below assume you already have.

⚙️ Then do the task

Step-by-step walkthroughs with code you can copy and adapt.

🔧 When it breaks

The errors this topic produces, with the cause explained rather than just the command.

Related topics

Subjects that keep coming up alongside this one, most overlap first.

Keep browsing

Mines & quarries sits in Analysis. Every topic on the site is listed on the topics index.