Barn Fire Stats

Updated June 2026 · Special Functions

Data source: Google Sheet · Plugin admin: Tools → Barn Fire Stats

Annual Update

Run through this each time new annual data comes in. Allie's data often has errors—validate carefully before importing.

  1. Copy the spreadsheet tab for the new year. Remove everything except the yellow-highlighted rows.
  2. Ensure column headers are exactly: Date / City/County / State / Animal Deaths / Species / Link—no extra spaces, no extra columns.
  3. Clean the data:
    • All state names written out in full—no abbreviations
    • Animal Deaths must be numbers only—no commas, no text
    • Remove Allie's extra notes from the tab
    • Verify all links work
  4. Export the existing year first as a backup via Tools → Barn Fire Stats → Export CSV.
  5. Export the new tab as CSV: File → Download → CSV.
  6. Import the new CSV in Tools → Barn Fire Stats. Check "First row is header (skip it)" before importing.
  7. Verify the row count matches your spreadsheet. Spot-check links.
  8. Update Theme Options with the new total deaths and last-updated date: Appearance → Theme Options. Enter numbers without commas—the theme formats them automatically.
  9. Check that the graphic on the Barn Fires page is updated.
  10. View the front-end page and confirm the new total, updated date, and all links are correct.

Initial Migration

Use the 2026 tab as a template. Work through tabs 2025–2020. The column structure and data cleaning rules are the same as the annual update above.

  1. For each year tab, delete extra columns and create a new column named Animal Deaths.
  2. Extract the animal death totals into the Animal Deaths column. Rename the original column Species.
  3. Follow the same data cleaning checklist: full state names, numbers only, working links.
  4. Download each tab as a CSV and import via Tools → Barn Fire Stats—select the year before importing.
  5. After each year, verify row counts match under View and manage data.
  6. Once all years are imported, update the page summary: Row 1 = 2026, Row 2 = 2025, and so on.