← All datasets

Egg Prices

Egg prices and the bird flu that broke them, in one free CSV download built from three public domain US government sources. The price file is the BLS average retail price of a dozen grade A large eggs, monthly from 1980 through 2026 for the US city average and the census regions BLS collects, still actively published: eggs sat near a dollar for two decades, hit $4.82 in January 2023, and peaked at $6.23 in March 2025. The layers file is USDA NASS Chickens and Eggs data, US layers on hand by month, total and table-egg type in thousand head, stitched from the monthly report archive across the 2024-2026 flu window when the national table-egg flock cratered. The detections file is USDA APHIS confirmations of highly pathogenic avian influenza in commercial and backyard flocks, one row per detection with county, state, date, flock type, and flock size: 1,149 detections and 96.8 million birds from February 2022 through June 2024, preserved via the Internet Archive after APHIS withdrew the public feed, an honestly bounded record of the outbreak's first act including the 5-million-bird Iowa mega-farm cullings. Join on Year and Month for the event study: culls up, flock down, prices through the roof, with a lag you can measure. Eight acceptance tests, one enforcing the 25 percent fill rule.
1,730 rows 3 joinable files last pulled 2026-11-18
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.
  • How long after major bird-flu culls do egg prices peak?
  • Which regions' egg prices swing hardest in flu years?
  • Did layer flocks recover faster after 2015 or 2022?
Retail Prices 561 rows × 6 columns
YearMonthUS_City_AvgNortheastMidwestSouth
Layers on Hand 20 rows × 4 columns
YearMonthTotal_Layers_ThousandsTable_Egg_Layers_Thousands
Bird Flu Detections 1,149 rows × 7 columns
Outbreak_DateYearMonthStateCountyFlock_TypeFlock_Size

Questions and answers

What is the Egg Prices dataset?

Egg prices and the bird flu that broke them, in one free CSV download built from three public domain US government sources. The price file is the BLS average retail price of a dozen grade A large eggs, monthly from 1980 through 2026 for the US city average and the census regions BLS collects, still actively published: eggs sat near a dollar for two decades, hit $4.82 in January 2023, and peaked at $6.23 in March 2025. The layers file is USDA NASS Chickens and Eggs data, US layers on hand by month, total and table-egg type in thousand head, stitched from the monthly report archive across the 2024-2026 flu window when the national table-egg flock cratered. The detections file is USDA APHIS confirmations of highly pathogenic avian influenza in commercial and backyard flocks, one row per detection with county, state, date, flock type, and flock size: 1,149 detections and 96.8 million birds from February 2022 through June 2024, preserved via the Internet Archive after APHIS withdrew the public feed, an honestly bounded record of the outbreak's first act including the 5-million-bird Iowa mega-farm cullings. Join on Year and Month for the event study: culls up, flock down, prices through the roof, with a lag you can measure. Eight acceptance tests, one enforcing the 25 percent fill rule.

How big is the Egg Prices dataset?

1,730 rows across 3 joinable files, with 17 columns in total: Year, Month, US_City_Avg, Northeast, Midwest, South, Year, Month, Total_Layers_Thousands, Table_Egg_Layers_Thousands, Outbreak_Date, Year, Month, State, County, Flock_Type, Flock_Size.

Where does the data come from?

It is built by programmatically scraping download.bls.gov, last pulled on 2026-11-18. 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.

How do the files join?

Join the three files on Year + Month: prices are monthly from 1980, layers monthly across the 2024-2026 flu window, detections event-level February 2022 through June 2024.

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