{
 "sources": [
  {
   "id": "acs-dp05-2025",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2025.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2025.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2025 (DP05_0019E 107,018) and its 90% margin of error (DP05_0019M 6,630).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. The American Community Survey is a yearly sample survey, so its figures are estimates published with a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2022",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2022.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2022.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2022 (DP05_0019E 100,014, margin of error 5,563).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2017",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2017.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2017.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2017 (DP05_0019E 114,411, margin of error 5,315).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp02-2025",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2025.DP02?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2025.DP02&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle households in 2025 (DP02_0001E 381,340, margin of error 6,514), used to scale the national dog-ownership rate.",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. The household count is a sample-survey estimate with a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "census-dp1-2020",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/DECENNIALDP2020.DP1?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=DECENNIALDP2020.DP1&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "2020 census: total population 737,015 (DP1_0001C) and 630,174 aged 18 and over (DP1_0021C), giving 106,841 under 18.",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The full 10-year census count, not a sample, so it has no margin of error, though it can miss some people.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "seattle-pet-licenses",
   "name": "City of Seattle Open Data",
   "url": "https://data.seattle.gov/City-Administration/Seattle-Pet-Licenses/jguv-t9rb",
   "readUrl": "https://data.seattle.gov/resource/jguv-t9rb.json?%24select=species%2Ccount(*)&%24group=species&%24order=species",
   "retrievedAt": "2026-11-25",
   "role": "Active pet licenses by species (list current as of October 6, 2026): 25,617 dogs and 12,782 cats, counted with the portal's query tool.",
   "licenseName": "Public Domain",
   "redistribution": "The portal marks the dataset Public Domain; only the species counts are copied.",
   "reliability": {
    "publisherKind": "government",
    "note": "Published by the City of Seattle and refreshed periodically. It lists only pets whose owners bought a license, so it undercounts all pets.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "spr-2017",
   "name": "Seattle Parks and Recreation",
   "url": "https://www.seattle.gov/documents/Departments/ParksAndRecreation/PoliciesPlanning/PeopleDogsandParksPlan-August2017.pdf",
   "retrievedAt": "2026-11-18",
   "role": "Reports the Seattle Animal Shelter's 2017 estimate of 150,000 dogs (PDF page 11).",
   "licenseName": "City of Seattle public document (facts reproduced)",
   "redistribution": "Only the figure is reproduced; the PDF is linked, not hosted.",
   "reliability": {
    "publisherKind": "government",
    "note": "A City of Seattle planning document. It repeats the shelter's estimate and does not say how the shelter made it.",
    "stake": "none",
    "party": false
   },
   "documentType": "statement"
  },
  {
   "id": "st-2006",
   "name": "The Seattle Times",
   "url": "https://www.seattletimes.com/pacific-nw-magazine/metro-dog/",
   "retrievedAt": "2026-11-18",
   "role": "About 125,000 dogs in 2006, by the shelter's estimate and the paper's own analysis.",
   "licenseName": "All rights reserved (facts reproduced)",
   "redistribution": "Only the figure is reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "note": "A Seattle Times magazine feature (May 12, 2006). It says its figure matches the shelter's estimate and the paper's analysis but gives no method.",
    "stake": "none",
    "party": false
   },
   "documentType": "newsReport"
  },
  {
   "id": "st-2022",
   "name": "The Seattle Times",
   "url": "https://www.seattletimes.com/seattle-news/data/seattles-most-popular-pet-names-and-its-doggiest-neighborhood/",
   "retrievedAt": "2026-11-18",
   "role": "The shelter's 2022 estimate of 187,000 dogs and about 30,500 dogs in the license database.",
   "licenseName": "All rights reserved (facts reproduced)",
   "redistribution": "Only the figures are reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "note": "Gene Balk's FYI Guy data column (Dec. 2, 2022). The dog total is the shelter's estimate, not the paper's own count.",
    "stake": "none",
    "party": false
   },
   "documentType": "newsReport"
  },
  {
   "id": "st-2025",
   "name": "The Seattle Times",
   "url": "https://www.seattletimes.com/seattle-news/data/these-are-seattles-most-popular-dog-names/",
   "retrievedAt": "2026-11-18",
   "role": "The shelter's estimate of more than 180,000 dogs and around 30,000 licensed dogs (Feb. 18, 2025).",
   "licenseName": "All rights reserved (facts reproduced)",
   "redistribution": "Only the figures are reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "note": "Gene Balk's FYI Guy data column. The dog total is the shelter's estimate, not the paper's own count.",
    "stake": "none",
    "party": false
   },
   "documentType": "newsReport"
  },
  {
   "id": "avma-2026",
   "name": "American Veterinary Medical Association (AVMA)",
   "url": "https://www.avma.org/resources-tools/reports-statistics/us-pet-ownership-statistics",
   "retrievedAt": "2026-11-18",
   "role": "2026 national dog ownership: 43.7% of U.S. households own a dog, 1.5 dogs per dog-owning household.",
   "licenseName": "All rights reserved (facts reproduced)",
   "redistribution": "Only the two published rates are reproduced.",
   "reliability": {
    "publisherKind": "nonprofitAssociation",
    "note": "The national professional group for veterinarians, which sells the full sourcebook. The rates come from an opt-in online survey in early 2026, weighted to Census household data, and are national, not for Seattle.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2018",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2018.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2018.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2018 (DP05_0019E 111,713, margin of error 5,986).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2019",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2019.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2019.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2019 (DP05_0019E 110,672, margin of error 5,207).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2021",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2021.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2021.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2021 (DP05_0019E 99,114, margin of error 5,548).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2023",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2023.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2023.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2023 (DP05_0019E 109,297, margin of error 5,966).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  },
  {
   "id": "acs-dp05-2024",
   "name": "U.S. Census Bureau",
   "url": "https://data.census.gov/table/ACSDP1Y2024.DP05?g=160XX00US5363000",
   "readUrl": "https://data.census.gov/api/access/data/table?id=ACSDP1Y2024.DP05&g=160XX00US5363000",
   "retrievedAt": "2026-11-25",
   "role": "Seattle residents under 18 in 2024 (DP05_0019E 109,519, margin of error 6,349).",
   "licenseName": "Public domain (U.S. government work)",
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error.",
    "stake": "none",
    "party": false
   },
   "documentType": "dataset"
  }
 ],
 "tables": [
  {
   "id": "comparison",
   "title": "Seattle children vs. dogs: latest figures",
   "description": "Seattle's children under 18 (2025 Census Bureau estimate) beside licensed dogs (October 2026 count) and two estimates of all dogs.",
   "artifactId": "comparison-csv",
   "unitOfObservation": "One figure (a count or estimate) for Seattle city",
   "fields": [
    {
     "units": null,
     "derivation": null,
     "name": "label",
     "type": "string",
     "description": "What the row counts.",
     "nullable": false,
     "valueType": "observed",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": "Assigned by FactHub from how each figure was made.",
     "name": "kind",
     "type": "string",
     "description": "Kind of figure: children from the Census Bureau, dogs counted from city licenses, or dogs estimated.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": "children or dogs",
     "derivation": "Children: DP05_0019E. Licensed dogs: count of Dog rows. Shelter: as reported. National rate: 381,340 x 0.437 x 1.5 = 249,968, rounded.",
     "name": "count",
     "type": "integer",
     "description": "The number. For the shelter estimate, the stated floor of 'more than 180,000'. For the national-rate estimate, rounded to the nearest 10,000.",
     "nullable": false,
     "valueType": "estimated",
     "sourceIds": [
      "acs-dp05-2025",
      "seattle-pet-licenses",
      "st-2025",
      "acs-dp02-2025",
      "avma-2026"
     ]
    },
    {
     "units": "children",
     "derivation": null,
     "name": "moe",
     "type": "integer",
     "description": "Census Bureau 90% margin of error. Empty where none is published.",
     "nullable": true,
     "valueType": "observed",
     "sourceIds": [
      "acs-dp05-2025"
     ]
    },
    {
     "units": "children or dogs",
     "derivation": "count - moe; or (381,340 - 6,514) x 0.437 x 1.5",
     "name": "low",
     "type": "integer",
     "description": "Low end: children estimate minus its margin of error; for the national-rate estimate, the same calculation using households minus their margin of error. Empty otherwise.",
     "nullable": true,
     "valueType": "derived",
     "sourceIds": [
      "acs-dp05-2025",
      "acs-dp02-2025",
      "avma-2026"
     ]
    },
    {
     "units": "children or dogs",
     "derivation": "count + moe; or (381,340 + 6,514) x 0.437 x 1.5",
     "name": "high",
     "type": "integer",
     "description": "High end, computed like low with the margin added. Empty otherwise.",
     "nullable": true,
     "valueType": "derived",
     "sourceIds": [
      "acs-dp05-2025",
      "acs-dp02-2025",
      "avma-2026"
     ]
    },
    {
     "units": null,
     "derivation": null,
     "name": "period",
     "type": "string",
     "description": "When the figure applies (year, or year-month).",
     "nullable": false,
     "valueType": "observed",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": "Assigned by FactHub.",
     "name": "value_type",
     "type": "string",
     "description": "observed (a count) or estimated (a survey estimate or an estimate whose method is not a count).",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": null,
     "name": "qualifier",
     "type": "string",
     "description": "Wording the source attached to the number, such as 'more than' or 'about'. Empty if none.",
     "nullable": true,
     "valueType": "observed",
     "sourceIds": [
      "st-2025"
     ]
    },
    {
     "units": null,
     "derivation": "Written by FactHub.",
     "name": "basis",
     "type": "string",
     "description": "How the figure was made, in plain words.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": null,
     "name": "source_ids",
     "type": "string",
     "description": "Ids of the dataset sources behind the row, separated by semicolons.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    }
   ]
  },
  {
   "id": "timeline",
   "title": "Seattle children and dogs by year",
   "description": "Children under 18 from the Census Bureau (yearly surveys for 2017-2019 and 2021-2025, and the 2020 census), the Seattle Animal Shelter's dog estimates as reported (2006, 2017, 2022, 2025) and licensed dogs (2022, 2025, 2026).",
   "artifactId": "timeline-csv",
   "unitOfObservation": "One figure per series per year, Seattle city",
   "fields": [
    {
     "units": null,
     "derivation": null,
     "name": "year",
     "type": "integer",
     "description": "Year the figure applies to.",
     "nullable": false,
     "valueType": "observed",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": "Assigned by FactHub.",
     "name": "series",
     "type": "string",
     "description": "Children under 18, all dogs (shelter estimate) or licensed dogs.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": "children or dogs",
     "derivation": null,
     "name": "count",
     "type": "integer",
     "description": "The number as published. Shelter and report license figures are the rounded numbers the reports give; 2025 shelter figure is the floor of 'more than 180,000'.",
     "nullable": false,
     "valueType": "estimated",
     "sourceIds": [
      "acs-dp05-2017",
      "acs-dp05-2018",
      "acs-dp05-2019",
      "acs-dp05-2021",
      "acs-dp05-2022",
      "acs-dp05-2023",
      "acs-dp05-2024",
      "acs-dp05-2025",
      "census-dp1-2020",
      "st-2006",
      "spr-2017",
      "st-2022",
      "st-2025",
      "seattle-pet-licenses"
     ]
    },
    {
     "units": "children",
     "derivation": null,
     "name": "moe",
     "type": "integer",
     "description": "Census Bureau 90% margin of error for survey years; empty for the 2020 census and for dog figures.",
     "nullable": true,
     "valueType": "observed",
     "sourceIds": [
      "acs-dp05-2017",
      "acs-dp05-2018",
      "acs-dp05-2019",
      "acs-dp05-2021",
      "acs-dp05-2022",
      "acs-dp05-2023",
      "acs-dp05-2024",
      "acs-dp05-2025"
     ]
    },
    {
     "units": null,
     "derivation": null,
     "name": "qualifier",
     "type": "string",
     "description": "Wording the source attached to the number ('about', 'around', 'more than'). Empty if none.",
     "nullable": true,
     "valueType": "observed",
     "sourceIds": [
      "st-2006",
      "st-2022",
      "st-2025"
     ]
    },
    {
     "units": null,
     "derivation": "Assigned by FactHub.",
     "name": "value_type",
     "type": "string",
     "description": "observed (a count) or estimated (a survey or other estimate).",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": "Written by FactHub.",
     "name": "basis",
     "type": "string",
     "description": "How the figure was made.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    },
    {
     "units": null,
     "derivation": null,
     "name": "source_ids",
     "type": "string",
     "description": "Ids of the dataset sources behind the row.",
     "nullable": false,
     "valueType": "derived",
     "sourceIds": []
    }
   ]
  },
  {
   "id": "inputs",
   "artifactId": "inputs-csv",
   "title": "Figures the scenarios use",
   "description": "The survey figures, the 2006 reported share and the one assumed value that the tie-point and one-in-three scenarios are worked out from.",
   "unitOfObservation": "One input figure",
   "fields": [
    {
     "name": "item",
     "type": "string",
     "description": "Short name of the figure, used by the formulas.",
     "nullable": false,
     "valueType": "observed",
     "units": null,
     "derivation": null,
     "sourceIds": []
    },
    {
     "name": "amount",
     "type": "decimal",
     "description": "The figure, in the unit the unit column gives.",
     "nullable": false,
     "valueType": "estimated",
     "units": "varies by row",
     "derivation": null,
     "sourceIds": [
      "acs-dp05-2025",
      "acs-dp02-2025",
      "avma-2026",
      "st-2006"
     ]
    },
    {
     "name": "unit",
     "type": "string",
     "description": "What the amount counts.",
     "nullable": false,
     "valueType": "observed",
     "units": null,
     "derivation": null,
     "sourceIds": []
    },
    {
     "name": "value_type",
     "type": "string",
     "description": "estimated for every row: survey estimates, a reported share and one assumption.",
     "nullable": false,
     "valueType": "derived",
     "units": null,
     "derivation": "Assigned by FactHub.",
     "sourceIds": []
    },
    {
     "name": "basis",
     "type": "string",
     "description": "Where the figure comes from, in plain words. Says so when FactHub assumed it.",
     "nullable": false,
     "valueType": "derived",
     "units": null,
     "derivation": "Written by FactHub.",
     "sourceIds": []
    },
    {
     "name": "source_ids",
     "type": "string",
     "description": "Ids of the dataset sources behind the row. Empty for the assumed value.",
     "nullable": true,
     "valueType": "derived",
     "units": null,
     "derivation": null,
     "sourceIds": []
    }
   ]
  }
 ],
 "analyses": [
  {
   "id": "latest-comparison",
   "title": "Children vs. dogs in Seattle, latest figures",
   "question": "How does Seattle's number of children compare with its licensed dogs and with estimates of all its dogs?",
   "operation": "Rows of comparison.csv as built by build.py: the 2025 under-18 estimate with its margin of error, the count of active dog licenses, the shelter's estimate at its stated floor, and households x 43.7% x 1.5 rounded to the nearest 10,000.",
   "scope": "Seattle city; children 2025, licenses October 2026, dog estimates 2025-2026",
   "resultShape": "table",
   "structuredResult": [
    {
     "label": "Children under 18",
     "kind": "Children (Census Bureau)",
     "count": 107018,
     "moe": 6630,
     "low": 100388,
     "high": 113648,
     "period": "2025",
     "value_type": "estimated",
     "qualifier": null
    },
    {
     "label": "Licensed dogs",
     "kind": "Dogs counted (city licenses)",
     "count": 25617,
     "moe": null,
     "low": null,
     "high": null,
     "period": "2026-10",
     "value_type": "observed",
     "qualifier": null
    },
    {
     "label": "All dogs: shelter estimate",
     "kind": "Dogs estimated",
     "count": 180000,
     "moe": null,
     "low": null,
     "high": null,
     "period": "2025",
     "value_type": "estimated",
     "qualifier": "more than"
    },
    {
     "label": "All dogs: U.S. pet survey rate",
     "kind": "Dogs estimated",
     "count": 250000,
     "moe": null,
     "low": 245698,
     "high": 254238,
     "period": "2025-2026",
     "value_type": "estimated",
     "qualifier": "about"
    }
   ],
   "displayResult": "Seattle had about 107,018 children under 18 in 2025 (give or take 6,630). 25,617 dogs had active licenses in October 2026. The shelter's 2025 estimate was more than 180,000 dogs, and the national ownership rate applied to Seattle homes gives about 250,000 (about 245,700 to 254,200 with the household margin).",
   "methodologicalNotes": [
    "Children: Census Bureau American Community Survey 1-year table DP05, row Under 18 years.",
    "The shelter value is plotted at 180,000, the floor of 'more than 180,000'.",
    "National-rate estimate: 381,340 households x 0.437 x 1.5 = 249,968, shown rounded because 1.5 dogs is itself rounded."
   ],
   "limitations": [
    "Only the children figure and the license count are measured; both dog totals are estimates.",
    "The reports we read give no method for the shelter's estimate.",
    "The national ownership rate may not fit a city with many renters and small households."
   ],
   "executedAt": "2026-11-25T16:30:00Z",
   "robustnessChecks": [
    {
     "analysisId": "tie-point",
     "checkType": "sensitivity",
     "summary": "Children would outnumber dogs only if fewer than 18.7% of Seattle homes (about 71,345) had a dog, at 1.5 dogs in each, or fewer than 23.4% (about 89,182), at an assumed 1.2 in each. Nationally, 43.7% of homes have a dog."
    },
    {
     "analysisId": "one-in-three",
     "checkType": "alternativeComparison",
     "summary": "Using The Seattle Times' 2006 figure of one Seattle household in three with a dog gives about 190,670 dogs at 1.5 in each, or 152,536 at an assumed 1.2 in each. Both are above 107,018 children."
    }
   ],
   "formula": "ShowColumns(comparison, label, kind, count, moe, low, high, period, value_type, qualifier)"
  },
  {
   "id": "over-time",
   "title": "Seattle children and dog estimates by year",
   "question": "How do Seattle's children and its estimated dogs compare in the years with figures?",
   "operation": "Rows of timeline.csv as built by build.py.",
   "scope": "Seattle city, 2006-2026, years with a published figure only",
   "resultShape": "timeSeries",
   "structuredResult": [
    {
     "year": 2017,
     "series": "Children under 18",
     "count": 114411,
     "moe": 5315,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2018,
     "series": "Children under 18",
     "count": 111713,
     "moe": 5986,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2019,
     "series": "Children under 18",
     "count": 110672,
     "moe": 5207,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2020,
     "series": "Children under 18",
     "count": 106841,
     "moe": null,
     "qualifier": null,
     "value_type": "observed"
    },
    {
     "year": 2021,
     "series": "Children under 18",
     "count": 99114,
     "moe": 5548,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2022,
     "series": "Children under 18",
     "count": 100014,
     "moe": 5563,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2023,
     "series": "Children under 18",
     "count": 109297,
     "moe": 5966,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2024,
     "series": "Children under 18",
     "count": 109519,
     "moe": 6349,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2025,
     "series": "Children under 18",
     "count": 107018,
     "moe": 6630,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2006,
     "series": "All dogs (shelter estimate)",
     "count": 125000,
     "moe": null,
     "qualifier": "about",
     "value_type": "estimated"
    },
    {
     "year": 2017,
     "series": "All dogs (shelter estimate)",
     "count": 150000,
     "moe": null,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2022,
     "series": "All dogs (shelter estimate)",
     "count": 187000,
     "moe": null,
     "qualifier": null,
     "value_type": "estimated"
    },
    {
     "year": 2025,
     "series": "All dogs (shelter estimate)",
     "count": 180000,
     "moe": null,
     "qualifier": "more than",
     "value_type": "estimated"
    },
    {
     "year": 2022,
     "series": "Licensed dogs",
     "count": 30500,
     "moe": null,
     "qualifier": "about",
     "value_type": "observed"
    },
    {
     "year": 2025,
     "series": "Licensed dogs",
     "count": 30000,
     "moe": null,
     "qualifier": "around",
     "value_type": "observed"
    },
    {
     "year": 2026,
     "series": "Licensed dogs",
     "count": 25617,
     "moe": null,
     "qualifier": null,
     "value_type": "observed"
    }
   ],
   "displayResult": "The Census Bureau's Seattle figures for children under 18 ran from 99,114 (2021) to 114,411 (2017), with 107,018 in 2025. The shelter's dog estimate was reported as about 125,000 in 2006, 150,000 in 2017, 187,000 in 2022 and more than 180,000 in 2025. Licensed dogs were about 30,500 in 2022, around 30,000 in 2025 and 25,617 in October 2026.",
   "methodologicalNotes": [
    "Children for 2017-2019 and 2021-2025 are survey estimates (DP05_0019E); 2020 is the full census count.",
    "Dog figures are only for years a report gave one; nothing is filled in between."
   ],
   "limitations": [
    "Survey estimates of children carry margins of error of about 5,200 to 6,600, so small year-to-year changes may not be real.",
    "The reports we read give no method for the shelter's estimates, and the method may have changed over time.",
    "The 2022 and 2025 license totals are the rounded numbers reported by The Seattle Times; 2026 is our own count. They may not count licenses the same way."
   ],
   "executedAt": "2026-11-25T16:30:00Z",
   "formula": "ShowColumns(timeline, year, series, count, moe, qualifier, value_type)"
  },
  {
   "id": "children-range",
   "title": "Lowest and highest Census figures for Seattle children, 2017 to 2025",
   "question": "How far apart are the Census Bureau's Seattle figures for children since 2017?",
   "operation": "Count, lowest and highest of the yearly survey estimates in the timeline table, and the 2020 census count.",
   "formula": "Table({surveys: CountRows(Filter(timeline, series = \"Children under 18\" && value_type = \"estimated\")), lowest: Min(Filter(timeline, series = \"Children under 18\" && value_type = \"estimated\"), count), highest: Max(Filter(timeline, series = \"Children under 18\" && value_type = \"estimated\"), count), census_2020: LookUp(timeline, series = \"Children under 18\" && value_type = \"observed\", count)})",
   "scope": "Seattle city; yearly surveys for 2017-2019 and 2021-2025, and the 2020 census",
   "resultShape": "table",
   "structuredResult": [
    {
     "census_2020": 106841,
     "highest": 114411,
     "lowest": 99114,
     "surveys": 8
    }
   ],
   "displayResult": "The 8 yearly surveys gave between 99,114 and 114,411 children under 18. The 2020 census counted 106,841.",
   "executedAt": "2026-11-25T16:30:00Z",
   "limitations": [
    "Each survey figure is an estimate with a margin of error of about 5,200 to 6,600."
   ],
   "methodologicalNotes": [
    "The surveys read are 2017-2019 and 2021-2025. 2020 is the full census count."
   ]
  },
  {
   "id": "tie-point",
   "title": "Dog-ownership rate at which dogs and children tie",
   "question": "What share of Seattle homes would have to own dogs for dogs to equal children?",
   "operation": "2025 children divided by the dogs in each dog-owning home gives the homes needed for a tie; that divided by 2025 households gives the share. Done for the national 1.5 dogs per home and for an assumed 1.2.",
   "scope": "Seattle city, 2025",
   "resultShape": "table",
   "structuredResult": [
    {
     "dogs_per_home": 1.5,
     "households_needed": 71345,
     "share_pct": 18.7,
     "us_share_pct": 43.7
    },
    {
     "dogs_per_home": 1.2,
     "households_needed": 89182,
     "share_pct": 23.4,
     "us_share_pct": 43.7
    }
   ],
   "displayResult": "Dogs and children tie when about 71,345 homes, 18.7% of Seattle's, have 1.5 dogs each, or when about 89,182 homes, 23.4%, have an assumed 1.2 dogs each. Nationally, 43.7% of homes have a dog.",
   "limitations": [
    "The 1.5 dogs per dog-owning home is a national average; 1.2 is assumed by FactHub and comes from no source."
   ],
   "executedAt": "2026-11-25T16:30:00Z",
   "formula": "AddColumns(RenameColumns(ShowColumns(Filter(inputs, unit = \"dogs per dog-owning home\"), amount), amount, dogs_per_home), households_needed, Round(LookUp(inputs, item = \"children_2025\", amount) / dogs_per_home, 0), share_pct, Round(LookUp(inputs, item = \"children_2025\", amount) / dogs_per_home / LookUp(inputs, item = \"households_2025\", amount) * 100, 1), us_share_pct, LookUp(inputs, item = \"us_dog_share\", amount))"
  },
  {
   "id": "one-in-three",
   "title": "Dog total if one Seattle home in three has a dog",
   "question": "How many dogs would Seattle have if one household in three owned a dog, as The Seattle Times reported in 2006?",
   "operation": "2025 households divided by three, times the dogs in each dog-owning home. Done for the national 1.5 and for an assumed 1.2.",
   "scope": "Seattle city, 2025 households",
   "resultShape": "table",
   "structuredResult": [
    {
     "dogs_per_home": 1.5,
     "dogs": 190670
    },
    {
     "dogs_per_home": 1.2,
     "dogs": 152536
    }
   ],
   "displayResult": "About 190,670 dogs at 1.5 in each dog-owning home, or 152,536 at an assumed 1.2.",
   "limitations": [
    "The one-in-three share is from 2006 and may have changed.",
    "The 1.5 dogs per dog-owning home is a national average; 1.2 is assumed by FactHub and comes from no source."
   ],
   "executedAt": "2026-11-25T16:30:00Z",
   "formula": "AddColumns(RenameColumns(ShowColumns(Filter(inputs, unit = \"dogs per dog-owning home\"), amount), amount, dogs_per_home), dogs, LookUp(inputs, item = \"households_2025\", amount) / LookUp(inputs, item = \"one_in\", amount) * dogs_per_home)"
  }
 ],
 "checks": [
  {
   "id": "timeline-unique",
   "description": "Each series has at most one figure per year.",
   "formula": "CountRows(timeline) = CountRows(Summarize(timeline, year, series))"
  },
  {
   "id": "children-agree",
   "description": "The 2025 children figure is the same in all three tables.",
   "formula": "And(LookUp(comparison, label = \"Children under 18\", count) = LookUp(timeline, series = \"Children under 18\" && year = 2025, count), LookUp(comparison, label = \"Children under 18\", count) = LookUp(inputs, item = \"children_2025\", amount))"
  },
  {
   "id": "licensed-agree",
   "description": "The 2026 licensed-dog count is the same in both tables.",
   "formula": "LookUp(comparison, label = \"Licensed dogs\", count) = LookUp(timeline, series = \"Licensed dogs\" && year = 2026, count)"
  },
  {
   "id": "national-rate",
   "description": "The national-rate dog total is households x 43.7% x 1.5, rounded to the nearest 10,000.",
   "formula": "LookUp(comparison, label = \"All dogs: U.S. pet survey rate\", count) = Round(LookUp(inputs, item = \"households_2025\", amount) * LookUp(inputs, item = \"us_dog_share\", amount) / 100 * LookUp(inputs, item = \"us_dogs_per_home\", amount), -4)"
  },
  {
   "id": "children-margin",
   "description": "The children range is the estimate plus and minus its margin of error.",
   "formula": "CountRows(Filter(comparison, !IsBlank(moe) && (low <> count - moe || high <> count + moe))) = 0"
  },
  {
   "id": "dogs-above-children",
   "description": "Every shelter dog estimate in the table is above every Census figure for children in the table.",
   "formula": "Min(Filter(timeline, series = \"All dogs (shelter estimate)\"), count) > Max(Filter(timeline, series = \"Children under 18\"), count)"
  }
 ]
}