{
 "metadata": {
  "source": "CT Office of Policy and Management — Municipal Fiscal Indicators, Uniform Chart of Accounts",
  "dataset_id": "e2qt-k238",
  "dataset_name": "Municipal Fiscal Indicators: Uniform Chart of Accounts, 2020-2023",
  "landing_page": "https://data.ct.gov/d/e2qt-k238",
  "source_url": "https://data.ct.gov/resource/e2qt-k238.json",
  "pulled": "2026-08-25",
  "dataset_last_updated": "2026-03-03",
  "recipe": "python Data/fetch_ct_ucoa.py (Python 3, standard library, no API key)",
  "row_count_source": 17632,
  "fiscal_year_note": "OPM year Y = the fiscal year ending June 30 of year Y. 2023 = FY 2022-23.",
  "basis_note": "Audited actual expenditures cross-walked to the state Uniform Chart of Accounts, split into salaries/wages, employee benefits, and all other costs. Same basis as ct_ucoa_town_indicators.json — actuals across funds, not the adopted budget.",
  "structure_note": "`function_totals` holds each town's function-level subtotal rows (the source's '<Function> Total' and 'Total Expenditures' rows), so figures are not double counted. `target_departments` holds every row the source publishes for Killingly, including department detail.",
  "town_scope_note": "`function_totals` covers Killingly and its hand-built peer groups only, to keep the browser download small. All 170 entities are in Data/ct_ucoa/mfi_ucoa_by_function_2020-2023.csv.",
  "gap_note": "The source omits some town-years entirely; those years are absent rather than zero. Missing for Killingly: none.",
  "merge_note": "`function_totals` is not in this file. It is statewide and identical for every town, so it is published once at /data/ct_ucoa_function_totals.json and merged onto this payload at runtime by TownCharts.load(). `target_departments` below is this town's own department detail and appears nowhere else."
 },
 "target": "Killingly",
 "years": [
  "2020",
  "2021",
  "2022",
  "2023"
 ],
 "fiscal_years": [
  "19-20",
  "20-21",
  "21-22",
  "22-23"
 ],
 "target_departments": {
  "2020": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1414618,
    "benefits": 0,
    "other": 734541,
    "total": 2149159
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1414618,
    "benefits": 0,
    "other": 734541,
    "total": 2149159
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 595659,
    "benefits": 0,
    "other": 735122,
    "total": 1330781
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 334499,
    "benefits": 0,
    "other": 669473,
    "total": 1003972
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 261160,
    "benefits": 0,
    "other": 65649,
    "total": 326809
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1695692,
    "benefits": 0,
    "other": 780677,
    "total": 2476369
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1158909,
    "benefits": 0,
    "other": 685497,
    "total": 1844406
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 536783,
    "benefits": 0,
    "other": 95180,
    "total": 631963
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 147404,
    "benefits": 0,
    "other": 489167,
    "total": 636571
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 147404,
    "benefits": 0,
    "other": 489167,
    "total": 636571
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 943609,
    "benefits": 0,
    "other": 376119,
    "total": 1319728
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 408194,
    "benefits": 0,
    "other": 141321,
    "total": 549515
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 519041,
    "benefits": 0,
    "other": 143566,
    "total": 662607
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 16374,
    "benefits": 0,
    "other": 91232,
    "total": 107606
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 47971454,
    "total": 47971454
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 47971454,
    "total": 47971454
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 3893599,
    "total": 3893599
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 3893599,
    "total": 3893599
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 86768,
    "total": 86768
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 86768,
    "total": 86768
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1486132,
    "other": 705194,
    "total": 2191326
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1486132,
    "other": 705194,
    "total": 2191326
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4796982,
    "benefits": 1486132,
    "other": 55772641,
    "total": 62055755
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1387812,
    "benefits": 0,
    "other": 615685,
    "total": 2003497
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1387812,
    "benefits": 0,
    "other": 615685,
    "total": 2003497
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 665088,
    "benefits": 0,
    "other": 699107,
    "total": 1364195
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 368948,
    "benefits": 0,
    "other": 430813,
    "total": 799761
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 296140,
    "benefits": 0,
    "other": 268294,
    "total": 564434
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1572763,
    "benefits": 0,
    "other": 949247,
    "total": 2522010
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1231388,
    "benefits": 0,
    "other": 930324,
    "total": 2161712
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 341375,
    "benefits": 0,
    "other": 18923,
    "total": 360298
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 143187,
    "benefits": 0,
    "other": 548301,
    "total": 691488
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 143187,
    "benefits": 0,
    "other": 548301,
    "total": 691488
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 841691,
    "benefits": 0,
    "other": 407993,
    "total": 1249684
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 404508,
    "benefits": 0,
    "other": 145757,
    "total": 550265
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 293864,
    "benefits": 0,
    "other": 62037,
    "total": 355901
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 143319,
    "benefits": 0,
    "other": 200199,
    "total": 343518
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 45850564,
    "total": 45850564
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 45850564,
    "total": 45850564
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": null,
    "benefits": null,
    "other": 4289654,
    "total": 4289654
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 4289654,
    "total": 4289654
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 558665,
    "total": 558665
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 558665,
    "total": 558665
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1536786,
    "other": 787390,
    "total": 2324176
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1536786,
    "other": 787390,
    "total": 2324176
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4610541,
    "benefits": 1536786,
    "other": 54706606,
    "total": 60853933
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1426986,
    "benefits": 0,
    "other": 821634,
    "total": 2248620
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1426986,
    "benefits": 0,
    "other": 821634,
    "total": 2248620
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 792386,
    "benefits": 0,
    "other": 566850,
    "total": 1359236
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 486985,
    "benefits": 0,
    "other": 504973,
    "total": 991958
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 305401,
    "benefits": 0,
    "other": 61877,
    "total": 367278
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1529745,
    "benefits": 0,
    "other": 1263691,
    "total": 2793436
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1184114,
    "benefits": 0,
    "other": 1244260,
    "total": 2428374
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 345631,
    "benefits": 0,
    "other": 19431,
    "total": 365062
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 108159,
    "benefits": 0,
    "other": 631748,
    "total": 739907
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 108159,
    "benefits": 0,
    "other": 631748,
    "total": 739907
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 948599,
    "benefits": 0,
    "other": 421583,
    "total": 1370182
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 424743,
    "benefits": 0,
    "other": 142369,
    "total": 567112
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 352052,
    "benefits": 0,
    "other": 189330,
    "total": 541382
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 171804,
    "benefits": 0,
    "other": 89884,
    "total": 261688
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 46699971,
    "total": 46699971
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 46699971,
    "total": 46699971
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 5895189,
    "total": 5895189
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5895189,
    "total": 5895189
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 1629806,
    "total": 1629806
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 1629806,
    "total": 1629806
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1595983,
    "other": 813617,
    "total": 2409600
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1595983,
    "other": 813617,
    "total": 2409600
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 4805875,
    "benefits": 1595983,
    "other": 58744089,
    "total": 65145947
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 1512209,
    "benefits": 0,
    "other": 949169,
    "total": 2461378
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 1512209,
    "benefits": 0,
    "other": 949169,
    "total": 2461378
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 1080570,
    "benefits": 0,
    "other": 585664,
    "total": 1666234
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 686249,
    "benefits": 0,
    "other": 403519,
    "total": 1089768
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 394321,
    "benefits": 0,
    "other": 182145,
    "total": 576466
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 1699613,
    "benefits": 0,
    "other": 841338,
    "total": 2540951
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1699613,
    "benefits": 0,
    "other": 813451,
    "total": 2513064
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 0,
    "benefits": 0,
    "other": 27887,
    "total": 27887
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 78524,
    "benefits": 0,
    "other": 759366,
    "total": 837890
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 78524,
    "benefits": 0,
    "other": 759366,
    "total": 837890
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1042393,
    "benefits": 0,
    "other": 457700,
    "total": 1500093
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 435012,
    "benefits": 0,
    "other": 180629,
    "total": 615641
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 394443,
    "benefits": 0,
    "other": 73271,
    "total": 467714
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 212938,
    "benefits": 0,
    "other": 203800,
    "total": 416738
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 0,
    "benefits": 0,
    "other": 48292455,
    "total": 48292455
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 0,
    "benefits": 0,
    "other": 48292455,
    "total": 48292455
   },
   {
    "function": "Education",
    "department": "Regional School District",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Debt Service Total",
    "department": "Debt Service Total",
    "wages": 0,
    "benefits": 0,
    "other": 5311125,
    "total": 5311125
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 5311125,
    "total": 5311125
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 276948,
    "total": 276948
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 276948,
    "total": 276948
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 1688509,
    "other": 843083,
    "total": 2531592
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 1688509,
    "other": 843083,
    "total": 2531592
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 5413309,
    "benefits": 1688509,
    "other": 58316848,
    "total": 65418666
   }
  ]
 }
}