{
 "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 Waterbury, including department detail.",
  "town_scope_note": "`function_totals` covers Waterbury 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 Waterbury: 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": "Waterbury",
 "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": 8804986,
    "benefits": 4630598,
    "other": 2017302,
    "total": 15452886
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 8804986,
    "benefits": 4630598,
    "other": 2017302,
    "total": 15452886
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 47072288,
    "benefits": 24755617,
    "other": 6532111,
    "total": 78360016
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 28006102,
    "benefits": 14728588,
    "other": 5443604,
    "total": 48178294
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 19066186,
    "benefits": 10027029,
    "other": 1088507,
    "total": 30181722
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10034715,
    "benefits": 5277320,
    "other": 8097742,
    "total": 23409777
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1289751,
    "benefits": 678288,
    "other": 1156309,
    "total": 3124348
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2641115,
    "benefits": 1388979,
    "other": 4253161,
    "total": 8283255
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 6103849,
    "benefits": 3210053,
    "other": 2688272,
    "total": 12002174
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3703240,
    "benefits": 1947588,
    "other": 4270833,
    "total": 9921661
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3703240,
    "benefits": 1947588,
    "other": 80833,
    "total": 5731661
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 4190000,
    "total": 4190000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1478499,
    "benefits": 777552,
    "other": 498573,
    "total": 2754624
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1375285,
    "benefits": 723271,
    "other": 410000,
    "total": 2508556
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 103214,
    "benefits": 54281,
    "other": 88573,
    "total": 246068
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 109040613,
    "benefits": 109209443,
    "other": 45953387,
    "total": 264203443
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 109040613,
    "benefits": 109209443,
    "other": 45953387,
    "total": 264203443
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 1643593,
    "total": 1643593
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 1643593,
    "total": 1643593
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 180134341,
    "benefits": 146598118,
    "other": 69013541,
    "total": 395746000
   }
  ],
  "2021": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 9397693,
    "benefits": 6605505,
    "other": 4533599,
    "total": 20536797
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 9397693,
    "benefits": 6605505,
    "other": 4533599,
    "total": 20536797
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 49019521,
    "benefits": 34455125,
    "other": 6615479,
    "total": 90090125
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 28781919,
    "benefits": 20230402,
    "other": 5407081,
    "total": 54419402
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 20237602,
    "benefits": 14224723,
    "other": 1208398,
    "total": 35670723
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10408998,
    "benefits": 7316338,
    "other": 8731002,
    "total": 26456338
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1466252,
    "benefits": 1030608,
    "other": 1212765,
    "total": 3709625
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2936505,
    "benefits": 2064028,
    "other": 4784564,
    "total": 9785097
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 6006241,
    "benefits": 4221702,
    "other": 2733673,
    "total": 12961616
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3296178,
    "benefits": 2316837,
    "other": 5586538,
    "total": 11199553
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3296178,
    "benefits": 2316837,
    "other": 57538,
    "total": 5670553
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 3772000,
    "total": 3772000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 1757000,
    "total": 1757000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1392485,
    "benefits": 978758,
    "other": 429754,
    "total": 2800997
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1392485,
    "benefits": 978758,
    "other": 429754,
    "total": 2800997
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 101935738,
    "benefits": 102274640,
    "other": 38492812,
    "total": 242703190
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 101935738,
    "benefits": 102274640,
    "other": 38492812,
    "total": 242703190
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": null,
    "benefits": null,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 175450613,
    "benefits": 153947203,
    "other": 64389184,
    "total": 393787000
   }
  ],
  "2022": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 9893109,
    "benefits": 6128628,
    "other": 4675876,
    "total": 20697613
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 9893109,
    "benefits": 6128628,
    "other": 4675876,
    "total": 20697613
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 50388211,
    "benefits": 31214715,
    "other": 6592789,
    "total": 88195715
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 29845114,
    "benefits": 18488585,
    "other": 5343127,
    "total": 53676826
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 20543097,
    "benefits": 12726130,
    "other": 1249662,
    "total": 34518889
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10416211,
    "benefits": 6452681,
    "other": 8985789,
    "total": 25854681
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1383123,
    "benefits": 856823,
    "other": 1124981,
    "total": 3364927
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2922442,
    "benefits": 1810408,
    "other": 4931212,
    "total": 9664062
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 6110646,
    "benefits": 3785450,
    "other": 2929596,
    "total": 12825692
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 3714730,
    "benefits": 2301218,
    "other": 7616270,
    "total": 13632218
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 3714730,
    "benefits": 2301218,
    "other": 518270,
    "total": 6534218
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 4664000,
    "total": 4664000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 2434000,
    "total": 2434000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1441281,
    "benefits": 892851,
    "other": 294719,
    "total": 2628851
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1441281,
    "benefits": 892851,
    "other": 294719,
    "total": 2628851
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 96608154,
    "benefits": 107329730,
    "other": 43664038,
    "total": 247601922
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 96608154,
    "benefits": 107329730,
    "other": 43664038,
    "total": 247601922
   },
   {
    "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": 0,
    "total": 0
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 172461696,
    "benefits": 154319823,
    "other": 71829481,
    "total": 398611000
   }
  ],
  "2023": [
   {
    "function": "General Government Total",
    "department": "General Government Total",
    "wages": 10526999,
    "benefits": 6267246,
    "other": 5968699,
    "total": 22762944
   },
   {
    "function": "General Government",
    "department": "General Government",
    "wages": 10526999,
    "benefits": 6267246,
    "other": 5968699,
    "total": 22762944
   },
   {
    "function": "Public Safety Total",
    "department": "Public Safety Total",
    "wages": 53024351,
    "benefits": 31568033,
    "other": 7758649,
    "total": 92351033
   },
   {
    "function": "Public Safety",
    "department": "Police",
    "wages": 31446483,
    "benefits": 18721655,
    "other": 6330517,
    "total": 56498655
   },
   {
    "function": "Public Safety",
    "department": "Fire",
    "wages": 21577868,
    "benefits": 12846378,
    "other": 1428132,
    "total": 35852378
   },
   {
    "function": "Public Safety",
    "department": "Other Public Safety",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works Total",
    "department": "Public Works Total",
    "wages": 10942606,
    "benefits": 6514678,
    "other": 8628394,
    "total": 26085678
   },
   {
    "function": "Public Works",
    "department": "Highways/Streets",
    "wages": 1319753,
    "benefits": 785715,
    "other": 1206690,
    "total": 3312158
   },
   {
    "function": "Public Works",
    "department": "Waste Management",
    "wages": 2906523,
    "benefits": 1730398,
    "other": 4926251,
    "total": 9563172
   },
   {
    "function": "Public Works",
    "department": "Sewer",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Public Works",
    "department": "Other Public Works",
    "wages": 6716330,
    "benefits": 3998565,
    "other": 2495453,
    "total": 13210348
   },
   {
    "function": "Health and Welfare Total",
    "department": "Health and Welfare Total",
    "wages": 4930067,
    "benefits": 2935114,
    "other": 8207933,
    "total": 16073114
   },
   {
    "function": "Health and Welfare",
    "department": "Public Health Admin",
    "wages": 4930067,
    "benefits": 2935114,
    "other": 638933,
    "total": 8504114
   },
   {
    "function": "Health and Welfare",
    "department": "Social Services",
    "wages": 0,
    "benefits": 0,
    "other": 4977000,
    "total": 4977000
   },
   {
    "function": "Health and Welfare",
    "department": "Other Health & Welfare",
    "wages": 0,
    "benefits": 0,
    "other": 2592000,
    "total": 2592000
   },
   {
    "function": "Culture and Recreation Total",
    "department": "Culture and Recreation Total",
    "wages": 1531630,
    "benefits": 911856,
    "other": 300370,
    "total": 2743856
   },
   {
    "function": "Culture and Recreation",
    "department": "Libraries",
    "wages": 1531630,
    "benefits": 911856,
    "other": 300370,
    "total": 2743856
   },
   {
    "function": "Culture and Recreation",
    "department": "Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Culture and Recreation",
    "department": "Other Culture/Recreation",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Education Total",
    "department": "Education Total",
    "wages": 91064960,
    "benefits": 107342945,
    "other": 47936470,
    "total": 246344375
   },
   {
    "function": "Education",
    "department": "Board of Education",
    "wages": 91064960,
    "benefits": 107342945,
    "other": 47936470,
    "total": 246344375
   },
   {
    "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": 336000,
    "total": 336000
   },
   {
    "function": "Debt Service",
    "department": "Debt Service",
    "wages": 0,
    "benefits": 0,
    "other": 336000,
    "total": 336000
   },
   {
    "function": "Capital Outlay Total",
    "department": "Capital Outlay Total",
    "wages": 0,
    "benefits": 0,
    "other": 215000,
    "total": 215000
   },
   {
    "function": "Capital Outlay",
    "department": "Capital Outlay",
    "wages": 0,
    "benefits": 0,
    "other": 215000,
    "total": 215000
   },
   {
    "function": "Other Total",
    "department": "Other Total",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Other",
    "department": "Other",
    "wages": 0,
    "benefits": 0,
    "other": 0,
    "total": 0
   },
   {
    "function": "Total Expenditures",
    "department": "Total Expenditures",
    "wages": 172020613,
    "benefits": 155539872,
    "other": 79351515,
    "total": 406912000
   }
  ]
 }
}