{
 "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-18",
   "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)",
   "licenseUrl": null,
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "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."
   }
  },
  {
   "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-18",
   "role": "Seattle residents under 18 in 2022 (DP05_0019E 100,014, margin of error 5,563).",
   "licenseName": "Public domain (U.S. government work)",
   "licenseUrl": null,
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error."
   }
  },
  {
   "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-18",
   "role": "Seattle residents under 18 in 2017 (DP05_0019E 114,411, margin of error 5,315).",
   "licenseName": "Public domain (U.S. government work)",
   "licenseUrl": null,
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "The federal statistics agency. American Community Survey 1-year estimates come from a sample and carry a 90% margin of error."
   }
  },
  {
   "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-18",
   "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)",
   "licenseUrl": null,
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "The federal statistics agency. The household count is a sample-survey estimate with a 90% margin of error."
   }
  },
  {
   "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-18",
   "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)",
   "licenseUrl": null,
   "redistribution": "Public domain; the values used are copied into source_values.json.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "The full 10-year census count, not a sample, so it has no margin of error, though it can miss some people."
   }
  },
  {
   "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-18",
   "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",
   "licenseUrl": null,
   "redistribution": "The portal marks the dataset Public Domain; only the species counts are copied.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "Published by the City of Seattle and refreshed periodically. It lists only pets whose owners bought a license, so it undercounts all pets."
   }
  },
  {
   "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)",
   "licenseUrl": null,
   "redistribution": "Only the figure is reproduced; the PDF is linked, not hosted.",
   "reliability": {
    "publisherKind": "government",
    "interest": "none",
    "note": "A City of Seattle planning document. It repeats the shelter's estimate and does not say how the shelter made it."
   }
  },
  {
   "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)",
   "licenseUrl": null,
   "redistribution": "Only the figure is reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "interest": "none",
    "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."
   }
  },
  {
   "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)",
   "licenseUrl": null,
   "redistribution": "Only the figures are reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "interest": "none",
    "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."
   }
  },
  {
   "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)",
   "licenseUrl": null,
   "redistribution": "Only the figures are reproduced; the article is linked.",
   "reliability": {
    "publisherKind": "news",
    "interest": "none",
    "note": "Gene Balk's FYI Guy data column. The dog total is the shelter's estimate, not the paper's own count."
   }
  },
  {
   "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)",
   "licenseUrl": null,
   "redistribution": "Only the two published rates are reproduced.",
   "reliability": {
    "publisherKind": "industry",
    "interest": "none",
    "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."
   }
  }
 ],
 "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 (2017, 2020, 2022, 2025), 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-2022",
      "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-2022",
      "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": []
    }
   ]
  }
 ],
 "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). Only 25,617 dogs had licenses, but the shelter estimates more than 180,000 dogs, and the national ownership rate applied to Seattle homes gives about 250,000 (roughly 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 shelter has not published how it makes its estimate.",
    "The national ownership rate may not fit a city with many renters and small households."
   ],
   "executedAt": "2026-11-18T18:00:00Z",
   "robustnessChecks": [
    {
     "analysisId": "tie-point",
     "checkType": "sensitivity",
     "summary": "Children would outnumber dogs only if fewer than 18.7% of Seattle homes (about 71,345) owned dogs at 1.5 each, less than half the national 43.7%."
    },
    {
     "analysisId": "one-in-three",
     "checkType": "alternativeComparison",
     "summary": "Using The Seattle Times' 2006 figure of one Seattle household in three owning a dog gives about 190,670 dogs, still well above 107,018 children."
    }
   ]
  },
  {
   "id": "over-time",
   "title": "Seattle children and dog estimates by year",
   "question": "Have Seattle's children caught up with its estimated dogs over time?",
   "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": 2020,
     "series": "Children under 18",
     "count": 106841,
     "moe": null,
     "qualifier": null,
     "value_type": "observed"
    },
    {
     "year": 2022,
     "series": "Children under 18",
     "count": 100014,
     "moe": 5563,
     "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": "Seattle's children under 18 stayed between about 100,000 and 115,000 (114,411 in 2017, 106,841 in 2020, 100,014 in 2022, 107,018 in 2025). The shelter's dog estimates rose from about 125,000 in 2006 to 150,000 in 2017, 187,000 in 2022 and more than 180,000 in 2025. Licensed dogs fell from about 30,500 in 2022 to 25,617 in 2026.",
   "methodologicalNotes": [
    "Children for 2017, 2022 and 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,300 to 6,600, so small year-to-year changes may not be real.",
    "Shelter estimates use an unpublished method that 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."
   ],
   "executedAt": "2026-11-18T18:00:00Z"
  },
  {
   "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": "107,018 children / 1.5 dogs per dog-owning home = 71,345 homes; 71,345 / 381,340 households = 18.7%.",
   "scope": "Seattle city, 2025",
   "resultShape": "scalar",
   "structuredResult": {
    "households_needed": 71345,
    "share_of_households": 0.1871,
    "national_share": 0.437
   },
   "displayResult": "Dogs and children tie only if about 71,345 homes, 18.7% of Seattle's 381,340, own dogs at 1.5 each, versus 43.7% nationally.",
   "limitations": [
    "Assumes Seattle dog owners have the national average of 1.5 dogs each."
   ],
   "executedAt": "2026-11-18T18:00:00Z"
  },
  {
   "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": "381,340 / 3 x 1.5 = 190,670.",
   "scope": "Seattle city, 2025 households",
   "resultShape": "scalar",
   "structuredResult": {
    "dogs": 190670
   },
   "displayResult": "About 190,670 dogs, if one Seattle home in three owned a dog at 1.5 dogs each.",
   "limitations": [
    "The one-in-three share is from 2006 and may have changed.",
    "Uses the national 1.5 dogs per dog-owning home."
   ],
   "executedAt": "2026-11-18T18:00:00Z"
  }
 ]
}
