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