{
  "series": "herd",
  "title": "National swine inventory",
  "unit": "million heads",
  "keyField": "year",
  "geographies": [
    "PH"
  ],
  "coverage": {
    "rows": 9,
    "published": 9,
    "nulls": 0,
    "retracted": 4,
    "first": "2018-12-31",
    "last": "2026-07-01",
    "latestValued": "2026-07-01"
  },
  "licence": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "citation": "Baboy PH state-of-the-industry archive, series \"herd\". CC BY 4.0. https://baboyph.com/data/herd",
  "source": "https://baboyph.com/data/herd",
  "observations": [
    {
      "year": 2018,
      "asOf": "2018-12-31",
      "value": 12.6,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Not re-verified in the 2026-07-12 audit."
    },
    {
      "year": 2019,
      "asOf": "2019-12-31",
      "value": 12.8,
      "annotation": "ASF arrives (Aug)",
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "retracted": true,
      "retracted_on": "2026-07-12",
      "retraction_reason": "The sourced pre-ASF peak is 12.70M as of 1 July 2019. Superseded by the row below."
    },
    {
      "year": 2019,
      "asOf": "2019-07-01",
      "value": 12.7,
      "annotation": "Last count before ASF · ASF arrives (Aug)",
      "source_id": "pmc",
      "source_url": "https://pmc.ncbi.nlm.nih.gov/articles/PMC11200829/",
      "accessed_on": "2026-07-12",
      "note": "12.70M heads as of 1 July 2019 — the pre-ASF high-water mark, and the baseline every recovery claim should be measured against."
    },
    {
      "year": 2020,
      "asOf": "2020-12-31",
      "value": 10.9,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Not re-verified in the 2026-07-12 audit."
    },
    {
      "year": 2021,
      "asOf": "2021-12-31",
      "value": 9.72,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Not re-verified in the 2026-07-12 audit."
    },
    {
      "year": 2022,
      "asOf": "2022-12-31",
      "value": 9.55,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Not re-verified in the 2026-07-12 audit."
    },
    {
      "year": 2023,
      "asOf": "2023-12-31",
      "value": 9.32,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Not re-verified in the 2026-07-12 audit."
    },
    {
      "year": 2024,
      "asOf": "2024-12-31",
      "value": 9.18,
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "retracted": true,
      "retracted_on": "2026-07-12",
      "retraction_reason": "Overstates the herd by 0.43M. PSA's year-end 2024 swine inventory is 8.75M heads. Superseded by the row below."
    },
    {
      "year": 2024,
      "asOf": "2024-12-31",
      "value": 8.75,
      "source_id": "businessmirror",
      "source_url": "https://businessmirror.com.ph/2026/02/26/hog-production-to-recoverin-2026-but-imports-risks-cited/",
      "accessed_on": "2026-07-12",
      "note": "PSA year-end 2024 swine inventory."
    },
    {
      "year": 2025,
      "asOf": "2025-07-01",
      "value": 9.01,
      "annotation": "PSA Jul 2025",
      "source_id": "psa",
      "source_url": "https://psa.gov.ph/livestock-poultry-iprs",
      "accessed_on": "2026-05-20",
      "note": "Latest available PSA quarterly inventory as of May 2026",
      "retracted": true,
      "retracted_on": "2026-07-12",
      "retraction_reason": "Not a year-end figure. 9.01M is the 1 July 2025 reading, charted as if it were the 2025 annual value and displayed as 'current' on the dashboard for two months. PSA's year-end 2025 inventory is 8.79M. Superseded by the row below; the 9.01M reading is preserved in `quarterlyReference`."
    },
    {
      "year": 2025,
      "asOf": "2025-12-31",
      "value": 8.79,
      "source_id": "businessworld",
      "source_url": "https://bworldonline.com/agribusiness/2026/02/23/731970/swine-chicken-populations-up-in-q4-cattle-down/",
      "accessed_on": "2026-07-12",
      "note": "PSA year-end 2025 inventory, +0.5% y/y. Smallhold farms held 78.3% of it."
    },
    {
      "year": 2026,
      "asOf": "2026-03-31",
      "value": 8.7,
      "annotation": "Q1 2026 · lowest Q1 since 1994",
      "source_id": "businessworld",
      "source_url": "https://www.bworldonline.com/agribusiness/2026/05/25/751680/hog-production-rebounds-poultry-sector-surges-in-q1/",
      "accessed_on": "2026-07-12",
      "note": "PSA inventory as of 31 March 2026, -1.5% y/y from 8.84M. The lowest first-quarter level since 1994. Partial year — this is a Q1 reading, not a year-end one.",
      "retracted": true,
      "retracted_on": "2026-08-22",
      "retraction_reason": "Superseded inside its own year, not mis-read. 8.70M is PSA's true count for 01 Apr 2026 and it stays readable here, in `quarterlyReference` and to the head (8,702,715) in `swine-inventory-total`. What went wrong is the job this row was doing: it is the only live 2026 row, so the dashboard published it as the current national herd and the chart drew it as the 2026 bar, and PSA has since counted 8,928,329 on 01 Jul 2026. Leaving it live would publish a superseded count as the current one, which is what the 2025-07-01 row was retracted for on 2026-07-12. Superseded by the row below."
    },
    {
      "year": 2026,
      "asOf": "2026-07-01",
      "value": 8.93,
      "unit": "million heads",
      "annotation": "01 Jul 2026 · +2.6% q/q, -1.0% y/y",
      "source_id": "synthesis",
      "source_url": "https://openstat.psa.gov.ph/PXWeb/api/v1/en/DB/2E/LP/INV/NEW/0032E4FINS0.px",
      "accessed_on": "2026-08-22",
      "derivation": "swine-inventory-total@2026-07-01 = 8928329 heads / 1000000 = 8.93 million heads (2 dp)",
      "note": "A unit conversion of a row already in this archive, so it is synthesis and not a second reading of PSA: swine-inventory-total holds 8,928,329 heads for 01 Jul 2026, receipted against the PX table this row cites. FREE TEXT DERIVATION, and the archive's first. The machine-checkable grammar is mean|sum|diff over archive operands, and a unit conversion is none of the three; the operand it names is resolvable by hand and by anyone reading the row. Partial year — this is the 01 Jul reference-morning count, not a year-end one. It is 2.59% above the 01 Apr 2026 count and 0.95% below 01 Jul 2025: the herd rose through Q2 and is still smaller than it was a year ago."
    }
  ]
}
